!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!
}
}