RE: small problem with my code 05-17-2014, 11:41 AM
#4
(05-17-2014, 07:57 AM)yuyboy Wrote:(05-16-2014, 10:32 PM)Geoff Wrote: loop through each user in the list and use something like http://www.tutorialspoint.com/python/time_sleep.htm after each message is sent
Hi, Thank you for your reply.:Grin:
hmmm i know about Python time sleep() Method but in my code how i can use it to make my bot send MSG for each user after N second?
That's what i need:Smile:
Thanks again.:Thumbs-Up:
I am not a python coder but based on general programming knowledge I would probably place it right after this code:
Code:
msg(z, u"MSG from Admin:\n" +parameters)
reply(type, source, u"MSG has been sent!")


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)