Hi,
Is there any script that protects the eggdrop when it gets deoped/kicked/banned from X by users who have access in the channel?
I assume that the eggdrop is logged-in. What I'm looking for, is a script that "reads" the username of the user, unbans its self (if banned),regains op and places a 4-days suspension to the "abuser's" username using it's max access (Users have less access than the eggdrops, so they cannnot unsuspend theirselves).
Thnx in advance!
Thnx for the fast replies!
Unfortunately the solution doesn't work at all.
Any other ideas? Someone told me that a script like the one I'm looking for already exists, but although I made a search, I had no results
Caesar, I actually added the new procedure to your xstuff script (which I use a long time now ). I hope i did it correctly. When I try to set the xkick mode i receive the msg "Error trying to set +xkick for #channel, invalid mode". Btw I don't know script programming. I put the bind section below the other binds and the procedure below the last procedure of the xstuff script. Thnx again for your help!
This definitely means that 'xkick' chansetting should exist and your bot should not tell you that it's an invalid mode. Did you forget to add it in the script?
yep u were right, I had forgotten to add the setudef... . I fixed that, rehashed and still doesn't work
I set the flag, but still when someone kicks the bot using X, the bot doesn't suspend him. btw, the user who kicks the bot has less access level than the bot. So I don't think this could be the problem
Thnx for the great help Caesar! Your new script solved the case.I appreciate. I find it amazing how helpful are the people in this forum . To the problem now: It didn't work at first but finally I found out what was going on. It's the syntax of the SUSPEND command which was wrong. Change the line:
set action {SUSPEND $chan $kicker 1d 100}
to:
set action {SUSPEND $chan $kicker 1 D 100}