Help with modifying script - 14/10/14 01:07 PM
I do have a working timer script however I would like it so the 4 timers I'm currently using run off one timer so there are equal times between each announcement. This doesn't happen with 4 separate timers as they all have a different time.
I tried this method but this didn't work. Anyone here got any other ideas or solutions? Or ways to fix this script.
I tried this method but this didn't work. Anyone here got any other ideas or solutions? Or ways to fix this script.
Code:
on *:TEXT:!start:#jb_uk: { if ($nick isop #) { msg $chan /me AutoCom: ON set -u20 %Line On .timerNow 70 12 { if (%Line) { $read(linksall.txt, 1) unset %Line set -u20 %Line1 On } if (%Line1) { $read(linksall.txt, 2) unset %Line1 set -u20 %Line2 On } if (%Line2) { $read(linksall.txt, 3) unset %Line2 set -u20 %Line3 On } if (%Line3) { $read(linksall.txt, 4) unset %Line3 set -u20 %Line On } } } else { msg # $nick -> You do not have permission to perform this action. } } on *:TEXT:!stop:#jb_uk: { if ($nick isop #) { msg $chan /me AutoCom: OFF .timerNow off } else { msg # $nick -> You do not have permission to perform this action. } }