iKnown>> 8 Ball

By BrandinA on Jan 18, 2010

Copyright © 2010 – Brandin Arsenault, Known Syntax – BOINC Services, Int. – All rights reserved.

Editing of this script is allowed.

This script is originally from the iKnown IRC Bot which is now discontinued.

-

This script allows a member to state the command that is set as default or the command you set and get a reply from the Bot or User.

-

Commands:

!8ball QUESTION - Replace 'QUESTION' with your question.

on *:text:!8ball*:#: {
  set %randxc $r(1,26) {
    if (%randxc == 1) { msg $chan $nick, 4Ask again later }
    if (%randxc == 2) { msg $chan $nick, 4Not a chance }
    if (%randxc == 3) { msg $chan $nick, 4As I see it, yes }
    if (%randxc == 4) { msg $chan $nick, 4Better not tell you now }
    if (%randxc == 5) { msg $chan $nick, 4Cannot predict now }
    if (%randxc == 6) { msg $chan $nick, 4Concentrate and ask again }
    if (%randxc == 7) { msg $chan $nick, 4Don't count on it }
    if (%randxc == 8) { msg $chan $nick, 4It is certain }
    if (%randxc == 9) { msg $chan $nick, 4It is decidedly so }
    if (%randxc == 10) { msg $chan $nick, 4Most likely }
    if (%randxc == 11) { msg $chan $nick, 4My reply is no }
    if (%randxc == 12) { msg $chan $nick, 4My sources say no }
    if (%randxc == 13) { msg $chan $nick, 4Outlook good }
    if (%randxc == 14) { msg $chan $nick, 4Outlook not so good }
    if (%randxc == 15) { msg $chan $nick, 4Reply hazy, try again }
    if (%randxc == 16) { msg $chan $nick, 4Signs point to yes }
    if (%randxc == 17) { msg $chan $nick, 4Very doubtful }
    if (%randxc == 18) { msg $chan $nick, 4Without a doubt }
    if (%randxc == 19) { msg $chan $nick, 4Yes }
    if (%randxc == 20) { msg $chan $nick, 4Yes - definitely }
    if (%randxc == 21) { msg $chan $nick, 4You may rely on it }
    if (%randxc == 22) { msg $chan $nick, 4Do I Look Like I Care? }
    if (%randxc == 23) { msg $chan $nick, 4Yeah, Right }
    if (%randxc == 24) { msg $chan $nick, 4Ask a better question }
    if (%randxc == 25) { msg $chan $nick, 4Well, $rand(1,50) years, $rand(17,364) days, $rand(0,23) hours, $rand(0,59) minutes, and some odd seconds...wait, what was the question? }
    if (%randxc == 26) { msg $chan $nick, 4lol, seriously? You can ask me any question and you ask " $+ $2- $+ " }
  }
}

Comments

Sign in to comment.
SnoooP   -  Jan 19, 2010

Would this not be easier to just read from a text file?

 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.