This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

utimer doesnt work properly

Old posts that have not been replied to for several years.
Locked
User avatar
dusk
Halfop
Posts: 91
Joined: Sun Mar 06, 2005 7:25 pm
Location: Belgium

utimer doesnt work properly

Post by dusk »

Hi I'm working on some lame fun-thingie wich has to create a yoyo-effect (voice-devoice-voice-devoice) on the channel when someone types !yoyo <nick> but it seems the utimers don't work.

I put this in :

set who [lindex $arg 0]
utimer 1 [putserv "PRIVMSG $chan : $who goes down!" ]
utimer 2 [pushmode $chan -v $who]
utimer 3 [putserv "PRIVMSG $chan : $who goes up!" ]
utimer 4 [pushmode $chan +v $who]
utimer 5 [putserv "PRIVMSG $chan : $who goes down!" ]
utimer 6 [pushmode $chan -v $who]
utimer 7 [putserv "PRIVMSG $chan : $who goes up!" ]
utimer 8 [pushmode $chan +v $who]

but the only thing this does is voice once and the messages are sent to the channel directly after eachother.
Thx.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

 utimer 1 [list putserv "PRIVMSG $chan : $who goes down!" ]
and so on
Locked