Will change a nickname that is entered, so that it appears differently, (ops, hops, voices, regs)
Start your message with the nickname and carry on as normal, for example, in the editbox
SautrN Hey mate, how are you?
Will appear in the channel as.
(@SaturN) Hey mate how are you.
Simple...
ON *:INPUT:#: {
if ($left($1,1) != /) {
if ($1 isop $target) Goto Op
elseif ($1 ishop $target) Goto Hop
elseif ($1 isvoice $target) Goto Voice
elseif ($1 isreg $target) Goto Reg
else Goto End
:Op
msg $chan 12~[10@7 $+ $1 $+ 12]~4 $2-
haltdef
halt
:Hop
msg $chan 12~[10%7 $+ $1 $+ 12]~4 $2-
haltdef
halt
:Voice
msg $chan 12~[10+7 $+ $1 $+ 12]~4 $2-
haltdef
halt
:Reg
msg $chan 12~[7 $+ $1 $+ 12]~4 $2-
haltdef
halt
:End
msg $chan $1-
halt
}
}