basic op hop topic voice commands

By Foresthello on Dec 06, 2007

!op username
!deop username
!hop username
!dehop username
!voice username
!devoice username
!topic topic goes here
!ban username
!kick username

well im guessing all of you get what they do i dont think i need to explain anymore

on *:TEXT:!topic *:#: { if ($nick isop $chan) { topic $chan  $2- }
  else { notice $nick Sorry you cannot access this command because you are not a op. }
}

on *:TEXT:!op *:#: { if ($nick isop $chan) { mode $chan +o $2 } 
  ELSE { notice $nick  Sorry you cannot access this command only ops can use it.
  }      
}

on *:TEXT:!deop *:#: { if ($nick isop $chan) { mode $chan -o $2 } 
  ELSE { notice $nick Sorry you cannot access this command because you are not a op.
  }      
}

on *:TEXT:!voice *:#: { if ($nick ishop $chan || $nick isop $chan) { mode $chan +v $2 } 
  ELSE { notice $nick Sorry you cannot access this command because you are not a op or halfop.  
  }      
}
on *:TEXT:!devoice *:#: { if ($nick ishop $chan || $nick isop $chan) { mode $chan -v $2 } 
  ELSE { notice $nick Sorry you cannot access this command because you are not a op or halfop. 
  }
}
on *:TEXT:!hop *:#: { if ($nick isop $chan) { mode $chan +h $2 } 
  ELSE { notice $nick  Sorry you cannot access this command because you are not a op.
  }      
}
on *:TEXT:!dehop *:#: { if ($nick isop $chan) { mode $chan -h $2 } 
  ELSE { notice $nick  Sorry you cannot access this command because you are not a op.
  }      
}
on *:TEXT:!ban *:#: { 
  if ($nick ishop $chan || $nick isop $chan) { mode $chan +b $address($2,2) $2 
  kick $chan $2 7,14 $me > ALL }
  elseif ($nick !isop $chan) { notice $nick  Sorry you do not have access to this command ops and halfops only. }
  }
}
on *:TEXT:!kick *: { 
if ($nick ishop $chan || $nick isop $chan) { kick $chan $2 You have been kicked by $nick Requested!
  } 
}

Comments

Sign in to comment.
guest598594   -  Dec 07, 2007

u shold make it

on @:Text:!trigger:#:{

[ @ = if($me isop $chan) ]

 Respond  
Foresthello   -  Dec 07, 2007

ok i added a kick but it might not work im pretty sure it will tho because i put it together while i wasnt on mirc because I am not on my regular computer right now

 Respond  
HKboy   -  Dec 07, 2007

Be proud on your topic, but no kick without a ban?

 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.