Guest User

Untitled

a guest
Oct 20th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. on *:TEXT:!lstatus *:#: {
  2. if ($2) {
  3. if ($2 == on) { set $+(%,lotto,$chan) on | msg $chan lotto is now on }
  4. elseif ($2 == off) { set $+(%,lotto,$chan) off | msg $chan lotto is now off }
  5. }
  6. else { msg $chan is now $+(%,lotto,$chan) }
  7. }
  8.  
  9. ; on top of the script:
  10.  
  11. if ($+(%,lotto,$chan) == off) { msg $chan lotto script is off | halt }
Add Comment
Please, Sign In to add comment