SHARE
TWEET

Untitled

a guest Aug 12th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. on input messages
  3. */
  4.  
  5. on 1:INPUT: {
  6.   if (!hail isin $1-) {
  7.     if ($3 == $null) {
  8.       set %hailed $2 | ctcp Advanced` hail $2 $chan | ctcp Declined` hail $2 $chan | ctcp Stabilized` hail $2 $chan
  9.       //echo $chan $chan
  10.     }
  11.     else {
  12.       set %hailed $2 | ctcp Advanced` hail $2 $3 | ctcp Declined` hail $2 $3 | ctcp Stabilized` hail $2 $3
  13.     }
  14.   }
  15. }
  16.  
  17. on *:INPUT: {
  18.   if ($1 == !highlights) {
  19.     //msg $chan I have been highlighted %counter times!
  20.   }
  21. }
  22.  
  23. on 1:INPUT: {
  24.   if ($snick(#,1) == $null) {
  25.     msg # $1- | halt
  26.   }
  27.   else {
  28.     if (%colors == on) {
  29.       msg # 3 $+ $snick(#,1) $+ : 4 $+ $1- | halt
  30.     }
  31.     else {
  32.       msg # $snick(#,1) $+ : $1- | halt
  33.     }
  34.   }
  35. }
RAW Paste Data
Top