mIRC Homepage
Posted By: NeoNY !rkill reguest for KILL - 02/02/06 03:56 PM
Code:
  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.

P.S - Sorry for my bad English.
Posted By: drc4 Re: !rkill reguest for KILL - 02/02/06 04:37 PM
You should look into using user levels. Just try
Code:
 /guser 10 NeoNY 2 

Through the bot's client. Then change the code from the bots Script Editor to:
Code:
on @10:text:!rkill *:#: {
  if ($nick == NeoNY ) { kill $$2 ( $+ $nick requested) }
}
Posted By: NeoNY Re: !rkill reguest for KILL - 02/02/06 04:58 PM
Quote:
You should look into using user levels. Just try
Code:
 /guser 10 NeoNY 2 

Through the bot's client. Then change the code from the bots Script Editor to:
Code:
on @10:text:!rkill *:#: {
  if ($nick == NeoNY ) { kill $$2 ( $+ $nick requested) }
}


its doesnt work.
Posted By: schaefer31 Re: !rkill reguest for KILL - 02/02/06 05:14 PM
Assuming you're connected to the server, it should be:

//guser 10 $me 2

Note the double slashes.
Posted By: NeoNY Re: !rkill reguest for KILL - 02/02/06 08:09 PM
still its doesnt wrk frown
Posted By: Fantas Re: !rkill reguest for KILL - 02/02/06 09:06 PM
on *:text:*:#: {
if ($nick == NeoNY) && (!rkill isin $1-) { kill $2 $nick requested }
}
Posted By: schaefer31 Re: !rkill reguest for KILL - 02/02/06 09:28 PM
Code:
on *:text:!rkill *:#:{
  if (($2 ison $chan) && $address($nick,2) == *!*@[color:red]your-hostmask-here[/color]) kill $2 $nick requested
}


If this doesn't work for you, then you're definitely doing something wrong.
Posted By: drc4 Re: !rkill reguest for KILL - 02/02/06 09:53 PM
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.
Posted By: NeoNY Re: !rkill reguest for KILL - 02/02/06 10:22 PM
Sorry, I tried all this but its doesnt seems to work for me ? have u tested ? or something sorry frown Please let me know, thank you all

Bwt, i check on 2 diff mIRC { empty too ) but dont see any diff frown
Posted By: drc4 Re: !rkill reguest for KILL - 02/02/06 11:20 PM
Code:
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.
Posted By: NeoNY Re: !rkill reguest for KILL - 03/02/06 07:54 AM
Thank you all for your help.... smile
drc4 thkx brat for your great help smile and all smile
© mIRC Discussion Forums