Advertisement
Guest User

onotice

a guest
Aug 30th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.41 KB | None | 0 0
  1. ; Alt + R => "Aliases"
  2.  
  3. alias onotice {
  4.   var %c
  5.   if ($1 ischan) { %c = $1 | tokenize 32 $2- }
  6.   else if ($active ischan) { %c = $active }
  7.   if ($1 == $null || %c == $null) { echo $colour(info) * /onotice: insufficient parameters | return }
  8.   if (T isincs $chan(%c).mode && $me isop %c) { .onotice %c $1- }
  9.   else { .raw NOTICE @ $+ %c : $+ $1- }
  10.   if ($show) { echo $color(own) -lbfmt %c -> Ops %c $+ : $1- }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement