Sponz Posted August 20, 2011 Share Posted August 20, 2011 We have this on *:TEXT:!Test *:#-?-%botnick: # means channel where you will type the command (!Test) ? means that you can type the command (!test) on bot or on the channel %botnick means that you can type the command (!test) on bot only. 1) Simple Access System ACCESS channel {ADD | DEL | LIST | VIEW | LISTLEVEL | COUNT | CLEAR} [parameters] When $2=User , $3=Reason , $nick=Person who does this action [Chanserv Commands] a) on *:TEXT:!addaccess *:#:{ if ($nick isop $Chan) cs access # add $2 $3 /op # $2 } b) on *:TEXT:!delacess *:#:{ if ($nick isop $Chan) cs access # DEL $2 /dop # $2 Simple Akick System AKICK channel {ADD | DEL | LIST | VIEW | COUNT | ENFORCE} [parameters] on *:TEXT:!addakick *:#:{ if ($nick isop $chan) cs AKICK # add $2 $3 [Add akick] if ($2 isop $chan) cs access # DEL $2 [if user who akicked is opped will be DEL from access list] ban # $2 [ban Ip] kick # $2 $3 [Kicked by bot with reason($3)] on *:TEXT:!delakick *:#:{ if ($nick isop $Chan) cs akick # DEL $2 [Warning: cs akick # DEL user!*@*] How to make a responder. on *:TEXT:Hello *:#:{ msg # Test } 3) Ban System: on *:TEXT:!ban *:#:{ if ($nick isop $Chan) ban # $2 kick # $2 $3 } on *:TEXT:!unban *:#:{ if ($nick isop $Chan) mode # $2 -b } on *:TEXT:!kick *:#:{ if ($nick isop $chan) kick # $2 $3 } Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now