|
|
Dracoz
|
Dracoz
|
Hmm i need 3 scripts..
The first 1 when someone slaps me that i will kick him with a message DONT Kick me $nick (but only on the channels where i`m op)
And the second script if someone bans me i a channel where i`m op that i will automaticly unban myself and kick the 1 who whas banning me with a message : Dont ban me
And if someone deops me that i will /msg X op $chan and kick the 1 who deopped me with a message : DONT Deop me $nick
|
|
|
|
Joined: Oct 2004
Posts: 8,061
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,061 |
1)
on @*:action:*slaps*:#:{
if ($me isin $1-) {
kick $chan $nick Don't slap me, $nick $+ !
}
}
2) --- Replace the chanserv line with X's unban command
on @*:ban:#:{
if ($bnick == $me) {
chanserv unban $banmask $chan
kick $chan $nick Don't ban me, $nick $+ !
}
}
3) -- In this, I'm using what you said to use for X... I don't know if it's a valid command the way you wrote it since I don't use X.
on *:deop:#:{
if ($opnick == $me) {
.msg X op $chan
kick $chan $nick Don't deop me, $nick $+ !
}
}
|
|
|
|
Joined: Oct 2004
Posts: 8,061
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,061 |
What doesn't work? You need to be specific. I'm not a mind reader. 
|
|
|
|
Dracoz
|
Dracoz
|
Sorry :P They all dont work all the scripots you just wrote :S?
|
|
|
|
Joined: Oct 2004
Posts: 8,061
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,061 |
Are you putting the scripts on you or a bot? They are meant to be on your client and not a bot. They should work fine. If they don't, I need to know more than "they don't work" ... do you get any messages/errors (check status and channel). How are you testing them? Etc.
Don't forget that these should all be placed in a new Remotes section and not into some other script's Remotes section. (i.e. Alt-R > File > New)
|
|
|
|
Dracoz
|
Dracoz
|
All did that and yes me (the client) is using them i`m testing them like this
someone else slaps me
someone else bans me
someone else deops me
|
|
|
|
Joined: Oct 2004
Posts: 8,061
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,061 |
Just testing them, they work...
Example for the Action (slap) one...
I insert this into a new script file on Riamus, who is an OP.
I take a clone called Riamus2 and have that clone type /me slaps Riamus
Riamus kicks Riamus2 with the reason Don't slap me, Riamus!
Please look to make sure the scripts are in their own file and that you are an op and that you have them typed just like they are here (same formatting). Sometimes, people will copy/paste from here and it gets formatted differently, causing problems.
|
|
|
|
Dracoz
|
Dracoz
|
Hmm yes they work except the antiban it jsut doesnt work :S
----- on @*:ban:#:{ if ($bnick == $me) { .msg X unban $banmask $chan kick $chan $nick Don't ban me, $nick $+ ! } }
----------
|
|
|
|
Joined: Oct 2004
Posts: 8,061
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,061 |
Is the X command formatted properly? I don't use it and just copied what you wrote for it, so I don't know if it's properly formatted.
Try removing the . in front of msg and see if you are at least sending the message out.
|
|
|
|
Dracoz
|
Dracoz
|
Hmmm damn :x does not work Can it be something else instead of X that me myself unban me?
|
|
|
|
|
|