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.
General support and discussion of Eggdrop bots.
Slaktarn
Halfop
Posts: 44 Joined: Wed May 02, 2007 1:48 am
Post
by Slaktarn » Mon Apr 16, 2012 5:32 am
I did a uggly script something like
Code: Select all
proc isAutoDeOP {min hour day month year} {
if {[onchan "BOT" "#Channel"]} {
".deop #Channel -o BOT"
}
}
Im not sure if this work as i don´t got it working, but if i do samething on Telnet it says "I'm not going to deop myself." are it anyway to pass this and allow the BOT to DEOP itself
/Thx Slaktarn
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Mon Apr 16, 2012 8:29 am
Code: Select all
proc isAutoDeOP {min hour day month year} {
if {[botonchan "#Channel"]} {
pushmode "#channel" -o $::botnick
}
}
this should work.
Once the game is over, the king and the pawn go back in the same box.
Slaktarn
Halfop
Posts: 44 Joined: Wed May 02, 2007 1:48 am
Post
by Slaktarn » Tue Apr 17, 2012 4:08 am
caesar wrote: Code: Select all
proc isAutoDeOP {min hour day month year} {
if {[botonchan "#Channel"]} {
pushmode "#channel" -o $::botnick
}
}
this should work.
It worked just fine thx alot!