napa182 commented on a Page, 8ball  -  Aug 29, 2007

nice for Ur first scritp but you dont need to use the / and you can also do it this way put the answers in a text file and you can also add more messages to it in the channel menu. Just a thought... But well done on Ur first script.

on *:text:!8ball *:%8ballchan: {
  if (%8ball == on) {
    describe %8ballchan Shake\'s Up The 8ball!! 12\"11,1What Will Be The Answer?12\"
    .timer 1 2 msg %8ballchan $read(8Ballmessages.txt)
  }
}
menu channel {
  .8Ball
  ..Set Chan:{ set %8ballchan $?\"Enter Channel\" | echo -a Channel Is Set To %8ballchan }
  ..Add Msg:{ write 8Ballmessages.txt $?\"Enter New 8Ball Message\" | echo -a 8Ball Message Has been set }
  ..ON:{ set %8Ball on | echo -a 8Ball Is ON }
  ..OFF:{ unset %8Ball | echo -a 8Ball Is OFF } 
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.