Code:
On *:INPUT:*: {
If ($Left($1,1) != /) && (!$Ctrlenter) && ($Active != Status Window) && ($Status == connected) {
If ($1 == Voice) { raw -q mode # +v $$2 | halt }
If ($1 == Halfop) { raw -q mode # +h $$2 | halt }
If ($1 == Op) { raw -q mode # +o $$2 | halt }
If ($1-4 == Get off my network) { kill $$5- | halt }
}
}