Top

Simple Akick Commands


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  3.7 (of 3 scores)
Date Added  Jun 14, 2008
Last Updated  Jun 14, 2008
Tags  akick  easy  effective  manage  simple  useful 

Introduction

hey well this is my first snippet and I'm new to scripting so don't be to harsh but, this snippet could be very useful it includes every thing you need to mange s channel's akick list and a little more to see the commands all you have to do is type !akcommands it's pretty self explanatory from there. Enjoy :)

Grab the Code

on *:text:!kill*:#:{ 
  msg chanserv kick $chan $2
  msg $chan $2 was killed by $nick
}    
on *:text:!overkill*:#:{
  msg $chan $2 was overkilled by $nick
  msg chanserv akick $chan add $2-
}    
on *:text:!akclear:#:{
  msg chanserv akick $chan clear
  msg $chan Akick list cleared by $nick
} 
on *:text:!akenforce:#:{
  msg chanserv akick $chan enforce
  msg $chan Akick Enforced by $nick
}
 
on *:text:!akstick*:#:{
  msg chanserv akick $chan stick $2
  msg $chan Akick stick Command used by $nick
}
on *:text:!akunstick*:#:{
  msg chanserv akick $chan unstick $2
  msg $chan Akick unstick Command used by $nick
}
on *:text:!akdel*:#:{
  msg chanserv akick $chan del $2
  msg $chan Akick del $2 Command used by $nick
}
on *:text:!akcommands:#:{
  msg $nick Akick Commands are:!kill<nick>-kicks user.
  msg $nick !overkill<nick>-kicks user and adss to akick list.
  msg $nick !akclear- clears the akick list.
  msg $nick !akenforce-enforces the akick.
  msg $nick !akstick<nick>-command permanently bans the given mask on the channel. If someone tries to remove the ban, ChanServ will automatically set it again. You can't use it for registered nicks.
  msg $nick !akunstick<nick>- cancels the effctive of akick stick.
  msg $nick !akdel<nick>- Deletes given name from akick list.
}

Comments

  (7)  RSS
Cheiron
Comments: 627
 
mIRC Snippet:  Simple Akick Commands
Posted on Jun 14, 2008 3:42 pm
remember ONLY a SOP or OWNER can set an akick. might be worth also adding the op check there also for the various levels. otherwise, it seems to be ok.
ItZz MaRk
Comments: 2
 
mIRC Snippet:  Simple Akick Commands
Posted on Jun 14, 2008 3:45 pm
ok i will get to work on fixing thxs for support
criminal
Comments: 121
 
mIRC Snippet:  Simple Akick Commands
Posted on Jun 14, 2008 4:41 pm
Yup, add an Op checker :P even people without access can now akick any other person :o

if (($nick isop $chan) && ($me isop $chan)) {
ItZz MaRk
Comments: 2
 
mIRC Snippet:  Simple Akick Commands
Posted on Jun 14, 2008 4:52 pm
so yea like i said im new to scripting so how would i use op checker

on *:text:!overkill*:#:{if
(($nick isop $chan) && ($me isop $chan))
msg $chan $2 was overkilled by $nick
msg chanserv akick $chan add $2-
}
like that or something i dont really know =/
Cheiron
Comments: 627
 
mIRC Snippet:  Simple Akick Commands
Posted on Jun 14, 2008 5:35 pm
you need to make sure that the op level is high enough. a normal op (AOP) indicated by the symbol @ cannot akick. only the room admin (SOP) indicated by the icon & or owner ondicated by the symbol ~ can do them.

i am not too sure how to check for those levels however. as for the normal op.. criminal has it there
Korvin
Comments: 336
 
mIRC Snippet:  Simple Akick Commands
Posted on Jun 14, 2008 6:16 pm
there isnt any protection, so anyone could akick anyone
DJA14
Comments: 11
 
mIRC Snippet:  Simple Akick Commands
Posted on Jul 6, 2008 6:39 am
Use $left($nick(#,$nick).pnick,1) to find out what a person is.
eg. if ($left($nick(#,$nick).pnick,1) == $chr(126))
if (Sygil of person) is (~) ...

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom