Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:!lstatus *:#: {
- if($2){
- if ($2 == on) { set $+(%,lotto,$chan) on | msg $chan lotto is now on }
- elseif ($2 == off) { set$+(%,lotto,$chan) off | msg $chan lotto is now off }
- else { msg $chan blabla not the right command }
- }
- ; on top of the script:
- if ($+(%,lotto,$chan) == off) { msg $chan lotto script is off | halt }
Add Comment
Please, Sign In to add comment