All pastes #759854 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-03 15:58 UTC
rendered paste body
on *:rawmode:#: {
  if (-m+N == $1) && (%OxyNLBscript == On) && (%gtr. [ $+ [ # ] ]) {
    .timer -m 1 0 msg # !add
    .timer -m 1 1000 msg # !add
    .timer -m 1 3500 msg # !add | splay -w sounds/moo.wav
    set %OxyNLBscript Off| echo 2 -a Auto Add is now Off By OxyNLBscript
  }
  elseif (-N+m == $1) { .timer $+ # 1 2000 gtr.add # }
}
alias gtr.add {
  var %x = $chan($1).mode
  if (m isincs %x && N !isincs %x) { set %gtr. $+ $1 1 }
}
on *:Text:*Sub is needed*:#:{
  if (%OxyNLBSub == On) {
    msg # !sub | splay -w sounds/sub.wav
    set %OxyNLBSub Off | echo 2 -a Auto Sub is now Off By OxyNLBscript
  }
}
menu * {
  Gather-Menu~OLBS
  .!add
  ..add on { set %OxyNLBscript On } | echo 4 -a Auto Add is now On By OxyNLBscript
  ..add off { set %OxyNLBscript Off } | echo 2 -a Auto Add is now Off By OxyNLBscript
  .!sub
  ..Sub on { set %OxyNLBSub On } | echo 4 -a Auto Sub is now On By OxyNLBscript
  ..Sub off { set %OxyNLBSub Off } | echo 2 -a Auto Sub is now Off By OxyNLBscript
  -
}