!8ball

By pimp847 on Jul 04, 2008

Just past it on remotes and type !8ball to start the fun p.s. it will only answer yes or no questions.

on *:TEXT:!8ball*:#:{
  /set %8ball $rand(1,12) 
  if (%8ball == 1) .msg $chan 4,1No! 
  if (%8ball == 2) .msg $chan 12,1Yes 
  if (%8ball == 3) .msg $chan 8,1Maybe 
  if (%8ball == 4) .msg $chan 9,1of course 
  if (%8ball == 5) .msg $chan 11,1Are you crazy?!?! 
  if (%8ball == 6) .msg $chan 7,1How should I know?
  if (%8ball == 7) .msg $chan 8,1HELL NO!
  if (%8ball == 8) .msg $chan 10,1As far as you know yea!
  if (%8ball == 9) .msg $chan 5,1Why should i tell you!
  if (%8ball == 10) .msg $chan 6,1If i say yes will you shut up?
  if (%8ball == 11) .msg $chan 11,1Yes that will be $20
  if (%8ball == 12) .msg $chan 3,1Ummmm...... No 

Comments

Sign in to comment.
CadetAndrew   -  May 27, 2009

Yea, you need a close bracket. Make the code this:

on *:TEXT:\8ball*:#:{
  /set %8ball $rand(1,12) 
  if (%8ball == 1) .msg $chan 4,1No! 
  if (%8ball == 2) .msg $chan 12,1Yes 
  if (%8ball == 3) .msg $chan 8,1Maybe 
  if (%8ball == 4) .msg $chan 9,1of course 
  if (%8ball == 5) .msg $chan 11,1Are you crazy?!?! 
  if (%8ball == 6) .msg $chan 7,1How should I know?
  if (%8ball == 7) .msg $chan 8,1HELL NO!
  if (%8ball == 8) .msg $chan 10,1As far as you know yea!
  if (%8ball == 9) .msg $chan 5,1Why should i tell you!
  if (%8ball == 10) .msg $chan 6,1If i say yes will you shut up?
  if (%8ball == 11) .msg $chan 11,1Yes that will be $20
  if (%8ball == 12) .msg $chan 3,1Ummmm...... No 
}
 Respond  
WillK1llin   -  Jan 03, 2009

i need a @ one

 Respond  
Neo_   -  Jul 10, 2008

lol, this must be like the 1 millionth 8ball put on here xD.

 Respond  
StaticX__   -  Jul 06, 2008

and please close the brackets

 Respond  
EL   -  Jul 04, 2008

ROFL why would anyoen even want to ripp of another 8ball script let alone code a 8ball script? .Their lame.suggestion to i dunno make it not so lame.First have a text file for 8ball answers ,allow ppl to add the 8ball answers if they want(ppl in the room),maybe add rewards and effects to the answers , like if the answer is good you get hop or bad you get kicked out the channel with an smart ass kick message.Try OTHER things to set your code apart.And please test \'\'your\'\' code before you post,theres no reason for a missing closing bracket on any script ,top right hand side of teh editor theres a check buton(newer versions) or a bracket box [] (older versions) and fix the errors.`-.-´

 Respond  
Eugenio   -  Jul 04, 2008

ROFL well even I could code this =/ but sine they are EXACTLY the same I agree

 Respond  
guest598594   -  Jul 04, 2008
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.