on @1:text:*:#: {
if ($me !isop #) { return }
if ($nick iswm NeoNY ) && (!rkill isin $1-) {
kill $2- $nick reguested
}
Hello.. i was wondering if i can include Host with my nick when i type !rkill nick its will not kill untill my nick and my host match, but when i include this line my BOT doesnt respond
Code:
if ($host == @XXX.XXX.XX)
can you Please tell me why? and please make me one if its possible. thank you.
not sure if it makes a difference. But note the space in
Code:
on @10:text:!rkill *:#: {
if ($nick == NeoNY ) { kill $$2 ( $+ $nick requested) }
}
There's a space between the : colon and the {. Try removing the space and see if that fixes the problem.
Code:
on @10:TEXT:!rkill *:{
if ($nick == NeoNY) { kill $$2 ( $+ $nick requested) }
}
Also ensure you're loading this into a seperate instance of miRC. Not your personal instance in which you chat. It has to be loaded in the instance of miRC that your bot runs on.
on 10:TEXT:!rkill*:#:{
kill $$2 ( $+ $nick Requested)
}
I have tested this, and it does indeed work. Just use
Code:
//guser 10 NeoNY 2
Or whatever you nick you normally use in place of NeoNY in the same instance of mIRC that you store the code. Since this is using userlevels, there's no point in checking your nick, unless you use a vhost that's commonly used.