on *:TEXT:!8Ball:#: {
var %8 $rand(1,5)
if (%8 == 1) { msg $chan $nick $+ , Yes. }
if (%8 == 2) { msg $chan $nick $+ , No. }
if (%8 == 3) { msg $chan $nick $+ , Maybe some day. }
if (%8 == 4) { msg $chan $nick $+ , I don\'t think so! }
if (%8 == 5) { msg $chan $nick $+ , Ask another time. }
}
Could also have been
on *:TEXT:!8Ball:#: {
var %8 $rand(1,5)
if (%8 == 1) { msg # Yes. }
if (%8 == 2) { msg # No. }
if (%8 == 3) { msg # Maybe some day. }
if (%8 == 4) { msg # I don\'t think so! }
if (%8 == 5) { msg # Ask another time. }
}
Still, nice script, I like it. Good for entertaining people when they are bored! 9/10