Hi, I need a little help with getting the day of the week then determining if it's SAT, or SUN. then running code if its not one of those days.
This is a section of what I have so far;
Code:
public theday(){
new today[8] = {"SAT","SUN"}
get_time("%a", today, 3)
if(get_time("today") == SAT) || (get_time("today") == SUN)
return PLUGIN_HANDLED
//somecode
}
spare some help? thanks..