need timer help
 
Post new topic   Reply to topic    Hawkee.com Forum Index -> TCL Scripting
 
Gemster  -  Sun Feb 13, 2011 4:57 pm Reply with quote
Hi, im new to tcl scripting, anyways i need help with timers on tcl i thick its a for command but not sure

Code
 


The above code dosent do anything but if i change the > great than to < less than it displays "boo" 9 times.

Basically what i need is it to "PRIVMSG ###1 boo" every 10 seconds for this test.

Thanks
Gemster
Get_A_Fix  -  Wed Mar 02, 2011 6:50 am Reply with quote
You may want to check tcl-commands.doc inside your ~/eggdrop/doc directory. You want to use UTIMER (measured in seconds) or just TIMER (in minutes).

A basic script to message a channel every 10sec would look something like...

Code
 


the first utimer starts the script and is called above the procedure, then called for a second time (to restart it) after messaging the channel.
Display posts from previous:   
Post new topic   Reply to topic    Hawkee.com Forum Index -> TCL Scripting All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.