Advanced Kick/ Kick Ban script FOR BOT

By TochA1551 on Feb 15, 2012

Simple advanced kick/ kickban script for ur bot. U can use it on #channel1 for kick or kickban someone on #channel32 (for example) if ur bot have there higher level (on #channel32) than user which u want to punish

Change:

privatechannel - to name of ur channel or bot private channel (so if u will use command , user who will be punished will not know who used it)

BotOwnerNickName - To ur IRC nickname (Abi1 , NoName etc)

Fell free to modify it to ur own uses

on *:text:!adkb *:#privatechannel: {
  if ($nick == BotOwnerNickHere) || ($2- != $null) {
    mode $2 +b $3
    kick $2 $3 $4-
  } 
  else
  msg #privatechannel How to use !advencedkickban command:
  msg #privatechannel !adkb <channel> <nick/host> <reasson>
}
}

````````````````This one is only for kick user from channel````````````````
on *:text:!adk *:#privatechannel:{
if ($nick == BotOwnerNickName) || ($2- != $null)  {
  kick $2 $3 $4-
}
else 
msg #privatechannel How to use !advnecedkick command:
msg #privatechannel !adk <channel> <nick> <reasson>
} 
}

Comments

Sign in to comment.
xplo   -  Feb 16, 2012

why don't you align your scripts and use the [ code ] and [ / code ] tags (without spaces)

 Respond  
thegingon   -  Feb 16, 2012

idk why do u think that it's Advanced kick or kb.

;1. u don't must to Check ($2- != $null) u can use $$2 -
 on *:text:!adkb *:#privatechannel: {
    mode $$2 +b $$3
    kick $$2 $$3 $4-
}

;2.u can use

on @*:TEXT:!k*:#:{
  if ($nick == user) {  kick $$2 $$3 $4 }
}
;or 
on @*:TEXT:!k *:#:{
  if ($nick == user) {  kick  $chan $$2 $3- }
}

simpely

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.