Input Commands

By D34th on Nov 26, 2009

my input commands they work for chatspace some would work for iRcD servers i think i dont know for sure i only code for chatspace commands please leave comments

on *:INPUT:#:{
  if ($1 == .op) {
    if (!$2) mode $chan +o $me
    if ($2) mode $chan +o $2
  }
  if ($1 == .deop) {
    if (!$2) mode $chan -o $me
    if ($2) mode $chan -o $2
  }
  if ($1 == .voice) {
    if (!$2) mode $chan +v $me
    if ($2) mode $chan +v $2
  }
  if ($1 == .devoice) {
    if (!$2) mode $chan -v $me
    if ($2) mode $chan -v $2
  }
  if ($1 == .k) {
    if ($2) kick $chan $2 $3-
  }
  if ($1 == .kb) {
    if ($2) mode +b $chan $address($2,3)
    if ($2) kick $chan $2 $3-
  }
  if ($1 == .kill) {
    if ($2) kill $2 $3-
  }
  if ($1 == .akill) {
    if ($2) akill $2 $3-
  }
  if ($1 == .script) {
    if (!$2) msg $chan 15[3>4D15eath 12- 15i4R15c (3.0) 3<15]
  }
  if ($1 == .info) {
    if (!$2) s.info
  }
  if ($1 == .Advertise) {
    if (!$2) advertise
  }
  if ($1 == .safelist) {
    if ($2) auser safelist $2-
  }
  if ($1 == .rem-safelist) {
    if ($2) ruser safelist $2-
  }  
  if ($1 == .m) {
    if (!$2) mode $chan +m
  }
  if ($1 == .i) {
    if (!2) mode $chan +i
  }
  if ($1 == .Greet) {
    if (!2) services set Greet $chan $1-
  }
}

Comments

Sign in to comment.
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.