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.

need help with a 2 line script

Old posts that have not been replied to for several years.
Locked
M
MMore

need help with a 2 line script

Post by MMore »

I need a real simple script

if an op get kicked in #chan (not op in the bot, just currently op in channel)
msg Q RECOVER #chan

hope someone can help me =)
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

you want this user to be able to /msg bot recover #chan ?
like Q it clears all modes/bans on that chan and deop's everyone, is this what you mean?
M
MMore

Post by MMore »

I meant =) if someone that is op in the channel gets kicked, the bot should msg Q Recover #chan, and Q will deop everyone.
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

just du an if {[isop $nick $chan]} function and finished
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

ahh i see, thought you wanted a script that did the same as Q did on recover
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

lol

Post by De Kus »

sorry, but doing a recover on such an event is stupid. i would reduce this to the bot as target itself and make a simply revenge script with pushmode $chan -o actor for normal kicks :D.
i had seen someone making recover each time a ban was set, it was really funny, but really nonsense, too :D.

at this moment that script is removed and only my bot revenges kicker and deopper, but only on known persons. we dont want to bother the chatters, we only want to garantue nobody abuses its level of op rights :).
Locked