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.

set +R , -R mode on specific time for channels

General support and discussion of Eggdrop bots.
Post Reply
w
websol
Voice
Posts: 4
Joined: Mon Mar 23, 2020 3:43 pm

set +R , -R mode on specific time for channels

Post by websol »

Hello to the community , i'm new to this sector , tcl scripting & irc protocol.I just want the bot to executes the command +R for certains channels at 00:00 , and -R at 06:00 for same channels.I want the bot execute the command everyday.How can i do this?
Thanks for any help
User avatar
Carlin0
Voice
Posts: 28
Joined: Tue Dec 04, 2018 3:41 pm
Location: Italy

Post by Carlin0 »

you can use this with a little modification ...

http://forum.egghelp.org/viewtopic.php? ... highlight=
w
websol
Voice
Posts: 4
Joined: Mon Mar 23, 2020 3:43 pm

Thank you pachisapiu

Post by websol »

Thank you pachisapiu..Channels will automatically applyied to the array , or should i apply the channels manually ?
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

In the linked code you have to set +moderate on the channels you want to be locked/unlocked at given times.
Once the game is over, the king and the pawn go back in the same box.
w
websol
Voice
Posts: 4
Joined: Mon Mar 23, 2020 3:43 pm

Post by websol »

thank you ceaser
Post Reply