Skip to content
GuarDDog v. 5

!kick command on guarddog

A TG007 community discussion started by rumba.

Discussion 9 posts
Page 1 of 1
Open
Topic #6463 · 9 published posts · 1,261 views

i have a problem n here with guarddog

i cant !kick a nick name with special chracters letters!

 

!kick command working fine with normal nick letters

 

Example

 

!kick rumba that will work

but if rumba's nick name like this яυмвά it wont kick

 

so how can i fix this ? thanks

Edited Apr 28, 2006 5:38 PM by rumba

Copy part of the name. If I'm not mistaken, it has a wildcard, so you can do something like !k я and it will kick all the people with that character in their name. It might not, so you will just have to copy the name to it.

i tried this before but no way

on armed:TEXT:*`ban *:#: {
 var %n , %i , %l = 1 | while ($nick($chan,%l)) { 
   %n = $ifmatch 
   if ($2 isin %n) && (%n != $me) %i = $addtok(%i,%n,32) 
   inc %l 
 } 
 if ($numtok(%i,32) > 0) access # add deny $ial(%i).addr 1440 :DeathBAN | kick # %i C-YA in 24 hours, very nice person | halt
 else /msg $active Sorry $nick $+ , no users have been found matching that phrase in their nickname. 
}

on armed:text:*`kick*:#: {
 set %chan $comchan($nick,1) | set %i $nick(%chan $+ ,0) | set %hit 0 | unset %kicknick | unset %kickaddr | unset %kickchan
 :next
 if ($2 isin $nick(%chan $+ ,%i)) { inc %hit | set %kickaddr $ial($nick(%chan $+ ,%i) $+ *,1).addr | set %kicknick $nick(%chan $+ ,%i) | set %kickchan $comchan($nick(%chan %+ ,%i),1) | if %hit > 1 { /notice $nick Too many hits, narrow your search! | halt } }
 dec %i | if %i > 0 goto next | if %hit = 0 { msg # No nicks found that match $2 $+ ! }
 if %i == 0 && %hit != 0 { kick %kickchan %kicknick $3-
 }
}

There ya go works gr8 in GD. Original coding I forget, but credits to Tgk for tweaks.

Just ccp part of the "funny" nick and bam they are history.

Credit to Daveyboi UK and ArmednReady.

That coding is not from armed and ready. If memory serves correctly i got the original coding from here or Rums. TGK tweaked it. I just like the armed as a user level. My admin levels are named armed.

when there are special characters, you need atleast 1 special character. GuarDDog has the isin stuff already in it. You just need 1 of the characters.

 

e.g.

 

!kick я that will work

 

and that will kick out all nicks with that character in it.

 

i did i swear i tried to use 1 letter from the nick i found GD kicked other chatters not the one i want to kick

try it with the new update round, i believe the original code was slightly flawed.