| View previous topic :: View next topic |
| Author |
Message |
spijon Voice
Joined: 27 Aug 2006 Posts: 33
|
Posted: Tue Sep 05, 2006 12:40 pm Post subject: timed join/part ? [SOLVED] |
|
|
Hey guys!
Im looking for a script that makes a bot join a channel at like 24:00 and part 10:00 aclock?
Thanks
Last edited by spijon on Thu Sep 07, 2006 11:00 pm; edited 1 time in total |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Tue Sep 05, 2006 7:12 pm Post subject: |
|
|
| Code: | bind time -|- {00 00*} activatechannel
bind time -|- {00 10*} deactivatechannel
proc activatechannel {min h d m y} {
channel set #channel -inactive
}
proc deactivatechannel {min h d m y} {
channel set #channel +inactive
} |
_________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
spijon Voice
Joined: 27 Aug 2006 Posts: 33
|
Posted: Wed Sep 06, 2006 3:05 am Post subject: |
|
|
Thanks De Kus
I will theck it out later |
|
| Back to top |
|
 |
spijon Voice
Joined: 27 Aug 2006 Posts: 33
|
Posted: Thu Sep 07, 2006 12:15 pm Post subject: |
|
|
Hmm i tryed it but nothing happens..
I've tryed to theck the timezone set the channel on the eggdrop and the script {h min d m y} insteed of the {min h d y} but stille nothing? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Sep 07, 2006 1:58 pm Post subject: |
|
|
Could you verify that the binding has been triggered?
(type ".bind time" in dcc-chat as owner, should list both bindings. Please check the "hits"-column for each binding - Should read a number greater than 0).
Also, De Kus' code assumes that channel #channel has already been added to your bot. Make sure it is.. (of course, you'll have to change #channel to whatever the name of your channel is) _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
spijon Voice
Joined: 27 Aug 2006 Posts: 33
|
Posted: Thu Sep 07, 2006 10:59 pm Post subject: |
|
|
Works great!
My bad .. i diddent add the chan in the eggdrop
Thanks guys |
|
| Back to top |
|
 |
|