kick, kick ban ect.

By Calzo on Aug 01, 2007

Well, since someone told me how to do input, i have made simple commands >< dunt make bad comments :( my first script

on *:input:*:{
  if ( $1 == /kick ) { /kick $chan $$2 9[15| 12Kick14|4 %kicks 14|12Count 15|9] | halt }
  if ( $1 == /ban ) { /ban $chan $$2 | halt }
  if ( $1 == /kban ) { /ban $chan $$2 | /kick $chan $nick 9[15| 12Ban14|4 %Bans 14|12Count 15|9] | Halt }
  if ( $1 == /p ) part $$2
  if ( $1 == /j ) join $$2
  if ( $1 == /voice ) mode $chan +v $$2  
  if ( $1 == /devoice ) mode $chan -v $$2
  if ( $1 == /halfop ) mode $chan +h $$2
  if ( $1 == /dehalfop ) mode $chan -h $$2
  if ( $1 == /op ) mode $chan +o $$2
  if ( $1 == /deop ) mode $chan -o $$2
  if ( $1 == /protect ) mode $chan +a $$2
  if ( $1 == /deprotect ) mode $chan -a $$2
  if ( $1 == /Owner ) mode $chan +q $$2
  if ( $1 == /Deowner ) mode $chan -q $$2
  if ( $1 == /addvop ) cs vop $chan add $$2
  if ( $1 == /addhalfop ) cs hop $chan add $$2
  if ( $1 == /addop ) cs aop $chan add $$2
  if ( $1 == /addsop ) cs sop $chan add $$2
  if ( $1 == /delvop ) cs vop $chan del $$2
  if ( $1 == /delhalfop ) cs hop $chan del $$2
  if ( $1 == /delop ) cs aop $chan del $$2
  if ( $1 == /delsop ) cs sop $chan del $$2
  if ( $1 == /addakick ) cs akick $chan add $$2
  if ( $1 == /delakick ) cs akick $chan del $$2
  if ( $1 == /akicklist ) cs akick $chan list

Comments

Sign in to comment.
findfriend   -  Sep 03, 2009

โค้ด มั่วๆ ไอ่หอยเอ๊ย

 Respond  
guest598594   -  Dec 22, 2007

no, this isnt an alias, its an input with a / in front ;)

$1 is /command and $2 would be $nick

-

u shuold make it on @:input::#:{ to check if ur op, and if ($2 ison $chan)

 Respond  
Pepsi_Man0077   -  Dec 22, 2007

yeah this will not work. Instead of

if ( $1 == /voice ) mode $chan +v $$2
(example)

Make it:

Alias voice {
mode $chan +v $$1
}

 Respond  
Ghost-lit Warder   -  Aug 10, 2007

I would recommend you make them aliases.

 Respond  
Calzo   -  Aug 01, 2007

well i dunno if this will work for people but hopefully it does >.<

 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.