Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Alt + R => "Aliases"
- alias onotice {
- var %c
- if ($1 ischan) { %c = $1 | tokenize 32 $2- }
- else if ($active ischan) { %c = $active }
- if ($1 == $null || %c == $null) { echo $colour(info) * /onotice: insufficient parameters | return }
- if (T isincs $chan(%c).mode && $me isop %c) { .onotice %c $1- }
- else { .raw NOTICE @ $+ %c : $+ $1- }
- if ($show) { echo $color(own) -lbfmt %c -> Ops %c $+ : $1- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement