8ball My First Try

By [-sophie-] on Jul 19, 2007

This is the first script ever I made and it's really simple.
!8ball Question and the bot will do the rest:p
Paste it in remotes ( ATL + R )
Working really well. Enjoy.
I used some texts of Runescript's 8Ball
(Sorry for my language but i'm French.)

on *:TEXT:!8ball*:#: {
  var %rander = $rand(1,13)
  if (%rander == 1) { 
    msg $chan To make you feel good...HECK NO!
  }
  if (%rander == 2) {
    msg $chan Possibly
  }
  if (%rander == 3) { 
    msg $chan Im...not...really...sure...
  }
  if (%rander == 4) {
    msg $chan NO
  }
  if (%rander == 5) { 
    msg $chan Smokey the bear says yes...soo ill go with him
  }
  if (%rander == 6) {
    msg $chan hmm...ask me later when im not busy laughing at ur question.
  }
  if (%rander == 7) {
    msg $chan I'm sure you don't want to know it..
  }
  if (%rander == 8) { 
    msg $chan NOO WAY!!
  }
  if (%rander == 9) {
    msg $chan Yes
  }
  if (%rander == 10) {
    msg $chan Suuuure...
  }
  if (%rander == 11) { 
    msg $chan Doubtful
  }
  if (%rander == 12) {
    msg $chan Gone fishin'..
  }
  if (%rander == 13) {
    msg $chan ROFL! WHAT A STUPID QUESTION!
  }
} 

Comments

Sign in to comment.
guest598594   -  Jul 23, 2007

good job though, for your first snippet

 Respond  
Anti   -  Jul 21, 2007

Well done on your first snippet sophie

 Respond  
Mushufasa   -  Jul 21, 2007

Not bad for being new, but if you look, the answer may not always represent the question asked, for example;

!8ball How would someone know about that?
8ball reply: To make you feel good...HECK NO! (1st response of your snippet)

I\'d reccomend keeping the same layout but adding something like this?

on :TEXT:!8ball:#: {
if (!$2) notice $nick Please choose a question to ask.
elseif ($2 == how) {
set %8ball $rand(1,5)
if (%8ball == 1) { msg $chan How? why would I know? }
elseif (%8ball == 2) { msg $chan You must be pretty thick if you can\'t answer that yourself. }
(Finish script)

etc, etc. That was it\'s a more...Pesonalised response, you will probably notice that with other 8balls cripts out there.

 Respond  
napa182   -  Jul 19, 2007

they way she did it for her first script is good. the way you did it wont work. it would be more like this

on :TEXT:!8ball:#: {
set %8ball $rand(1,8)
if (%8Ball == 1) { msg $chan To make you feel good...HECK NO! }
if (%8Ball == 2) { msg $chan Possibly }
if (%8Ball == 3) { msg $chan Im...not...really...sure... }
if (%8Ball == 4) { msg $chan NO }
if (%8Ball == 5) { msg $chan Smokey the bear says yes...soo ill go with him }
if (%8Ball == 6) { msg $chan hmm...ask me later when im not busy laughing at ur question. }
if (%8Ball == 7) { msg $chan I\'m sure you don\'t want to know it.. }
if (%8Ball == 8) { msg $chan NOO WAY!! }
unset %8Ball
}

 Respond  
GuardianDemon   -  Jul 19, 2007

Well Since Your New Ill Assist You In This Script First Of All Im New Myself But I Am Getting The Hang Of It (-1-). It Would Help To Have More Than 13 But Thats Ok For Now (-2-) If I WOuld Have Made This Snippet I Would Have Went Even Easier And Did
on :TEXT:!8ball*:#: {
/set %8ball $rand(1,13)
if (8Ball == 1) msg $chan To make you feel good...HECK NO!
if (8Ball == 2) msg $chan Possibly
if (8Ball == 3) msg $chan Im...not...really...sure...
if (8Ball == 4) msg $chan NO
if (8Ball == 5) msg $chan Smokey the bear says yes...soo ill go with him
if (8Ball == 6) msg $chan hmm...ask me later when im not busy laughing at ur question.
if (8Ball == 7) msg $chan I\'m sure you don\'t want to know it..
if (8Ball == 8) msg $chan NOO WAY!!
..... And So On
But I May Be Wrong Your Way May Be Better If Someone That Knows Reads This Please Tell Me. So I Can Fix My Mistaken
And Very Good Script For Your First One Ummm And Me As Your Friend Please And I Will Be Checking Up On Your Success Keep Up The Good Work :P

 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.