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.

timed events and check if user ison chan

Old posts that have not been replied to for several years.
Locked
s
slashem
Voice
Posts: 18
Joined: Tue Aug 13, 2002 6:35 pm

timed events and check if user ison chan

Post by slashem »

I found on the forum here that you can use:
bind time - "* 05 * * *" {
to execute something every hour :05 minutes..
but how can you make it do something every two or every three hours?

and another question I have is how can you check if a nickname is in your current channel? like: if { bobo ison #testing } { .... }


thx in advance
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

bind time - "* 05 * * *" will do something at 05.00 every day, not every hour as u said, then u have to use: bind time "00 * * * *" ....
the proc will be: proc something {min hour day month year} {

to see if someone is on a channel u use : [onchan nickname channel]
Elen sila lúmenn' omentielvo
Locked