YB Forums: Is There Something Incorrect In This Coding? - YB Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Is There Something Incorrect In This Coding? Rate Topic: -----

#1 User is offline   Tekno Icon

  • Icon
  • Group: Members
  • Posts: 1
  • Joined: 21-February 10

Posted 21 February 2010 - 04:49 PM

My mates and I are trying to get our channel bot to have random responses whenever he's asked a question, but he isn't responding. All other coding works.
on 1:text:*Mariobot*?*:#: {
/set %bt.rand $rand(1,58)
if (%bt.rand == 1) { .msg $chan Wait, what did you say? I wasn't paying attention. Lol }
if (%bt.rand == 2) { .msg $chan I had Peach's babies. Needless to say, it was painful. }
if (%bt.rand == 3) { .msg $chan Where would you people be without me, the fabulous Mariobot? }
if (%bt.rand == 4) { .msg $chan I really don't know. :| }
if (%bt.rand == 5) { .msg $chan I think so, though it may be determined by the weather. }
if (%bt.rand == 6) { .msg $chan ASL? }
if (%bt.rand == 7) { .msg $chan I WILL HAVE YOUR BABIES, $nick }
if (%bt.rand == 8) { .msg $chan I think Ri did it.}
if (%bt.rand == 9) { .msg $chan You whore.}
if (%bt.rand == 10) { .msg $chan Yes! }
if (%bt.rand == 11) { .msg $chan No, don't do it! It's a lie! }
if (%bt.rand == 12) { .msg $chan Chii is an attention whore. }
if (%bt.rand == 13) { .msg $chan I fail to see the point. }
if (%bt.rand == 14) { .msg $chan Your face is. }
if (%bt.rand == 15) { .msg $chan Ask Peachy. }
if (%bt.rand == 16) { .msg $chan $nick is a whore anyways. }
if (%bt.rand == 17) { .msg $chan I'm not aware of this... }
if (%bt.rand == 18) { .msg $chan I fell down, and that's the last thing I remember. }
if (%bt.rand == 19) { .msg $chan Well, Mr. Urmum, you tell ME. }
if (%bt.rand == 20) { .msg $chan All I know is that you're a smexy one, $nick }
if (%bt.rand == 21) { .msg $chan Well, if Peach says yes, I guess I agree. }
if (%bt.rand == 22) { .msg $chan Er... }
if (%bt.rand == 23) { .msg $chan OH LOOK MY LAUNDRY IS DONE, I'LL BBL. KTXBI! *runs away* }
if (%bt.rand == 24) { .msg $chan These, no these are real. }
if (%bt.rand == 25) { .msg $chan I do drugs, but I don't think it affects me too much. }
if (%bt.rand == 26) { .msg $chan This is just too much... }
if (%bt.rand == 27) { .msg $chan I think you know the answer to that, $nick ;) }
if (%bt.rand == 28) { .msg $chan Shh, that's my and Peachy's little secret. ;) Hehe. }
if (%bt.rand == 29) { .msg $chan 42. }
if (%bt.rand == 30) { .msg $chan Three wrongs don't make a right, but three rights make a left, and now it's time for the show! *dances with a fruit hat* }
if (%bt.rand == 31) { .msg $nick What do you sa we get away from these losers and go someplace private? ;) }
if (%bt.rand == 32) { .msg $nick That's such a personal question! I mean, all I can think of is the time Daisy dumped me and then my brother started dating her and I was stuck with some cheap whore and I got drunk every night and woke up penniless and broken in a bucket hanging from a lamppost in an alley somewhere off the road to nowhere! *sobwhinebitchmoan* *cries on $nick 's shoulder* }
if (%bt.rand == 33) { .msg $chan $me slaps $nick }
if (%bt.rand == 34) { .msg $chan $me shushes $nick }
if (%bt.rand == 35) { .msg $chan Yes, my good sire, I am! }
if (%bt.rand == 36) { .msg $nick This is just between you and me, but I really wanna sex Ri up. }
if (%bt.rand == 37) { .msg $chan Oh, shut up you trumpet-sucking tube sock. }
if (%bt.rand == 38) { .msg $chan $me stares at $nick 's boobies }
if (%bt.rand == 39) { .msg $chan Did you hear something? }
if (%bt.rand == 40) { .msg $chan What a clever impression of a stupid poor person! }
if (%bt.rand == 41) { .msg $chan There is no good answer to that question... *whistles* }
if (%bt.rand == 42) { .msg $chan $me axes $nick "Shaddup!" }
if (%bt.rand == 43) { .msg $chan $me shoves $nick through a 12-inch porthole in the wall }
if (%bt.rand == 44) { .msg $chan $me kills everone }
if (%bt.rand == 45) { .msg $chan It's because I'm short isn't it? }
if (%bt.rand == 46) { .msg $chan OMFGIJFYM! HAHAHA 8D }
if (%bt.rand == 47) { .msg $chan $me emits pelican blood }
if (%bt.rand == 48) { .msg $chan if you don't shut up, I'm going to shove your babbling orfice full of whatever I can find. }
if (%bt.rand == 49) { .msg $chan Yes, I did. Why? }
if (%bt.rand == 50) { .msg $chan $rand(1,$nick($chan,0)) probably knows. ;) }
if (%bt.rand == 51) { .msg $chan $rand(1,$nick($chan,0)) is a whore anyway, so who cares? }
if (%bt.rand == 52) { .msg $chan $me shover $nick closer to $rand(1,$nick($chan,0)) and winks }
if (%bt.rand == 53) { .msg $nick $rand(1,$nick($chan,0)) really smells bad, huh? }
if (%bt.rand == 54) { .msg $chan GENTLEMEN! I GIVE YOU... $rand(1,$nick($chan,0)) !!! }
if (%bt.rand == 55) { .msg $chan think you had better ask that to $rand(1,$nick($chan,0)) >_> }
if (%bt.rand == 56) { .msg $chan $me sobs-"I'M SO SORRY!" }
if (%bt.rand == 57) { .msg $chan $nick WHERE THE FRACK HAVE YOU BEEN, MAN? }
if (%bt.rand == 58) { .msg $chan You're no fun. |:< }
}


That is the coding we have used. Is there too many rands, or what?
0

#2 User is offline   Download Icon

  • Icon
  • Group: Members
  • Posts: 5
  • Joined: 25-April 10

Posted 26 April 2010 - 04:10 AM

try this tested works

on *:text:*Mariobot*:#: {
  /set %bt.rand $rand(1,58)
  if (%bt.rand == 1) { .msg $chan Wait, what did you say? I wasn't paying attention. Lol }
  if (%bt.rand == 2) { .msg $chan I had Peach's babies. Needless to say, it was painful. }
  if (%bt.rand == 3) { .msg $chan Where would you people be without me, the fabulous Mariobot? }
  if (%bt.rand == 4) { .msg $chan I really don't know. :| }
  if (%bt.rand == 5) { .msg $chan I think so, though it may be determined by the weather. }
  if (%bt.rand == 6) { .msg $chan ASL? }
  if (%bt.rand == 7) { .msg $chan I WILL HAVE YOUR BABIES, $nick }
  if (%bt.rand == 8) { .msg $chan I think Ri did it. }
  if (%bt.rand == 9) { .msg $chan You whore. }
  if (%bt.rand == 10) { .msg $chan Yes! }
  if (%bt.rand == 11) { .msg $chan No, don't do it! It's a lie! }
  if (%bt.rand == 12) { .msg $chan Chii is an attention whore. }
  if (%bt.rand == 13) { .msg $chan I fail to see the point. }
  if (%bt.rand == 14) { .msg $chan Your face is. }
  if (%bt.rand == 15) { .msg $chan Ask Peachy. }
  if (%bt.rand == 16) { .msg $chan $nick is a whore anyways. }
  if (%bt.rand == 17) { .msg $chan I'm not aware of this... }
  if (%bt.rand == 18) { .msg $chan I fell down, and that's the last thing I remember. }
  if (%bt.rand == 19) { .msg $chan Well, Mr. Urmum, you tell ME. }
  if (%bt.rand == 20) { .msg $chan All I know is that you're a smexy one, $nick }
  if (%bt.rand == 21) { .msg $chan Well, if Peach says yes, I guess I agree. }
  if (%bt.rand == 22) { .msg $chan Er... }
  if (%bt.rand == 23) { .msg $chan OH LOOK MY LAUNDRY IS DONE, I'LL BBL. KTXBI! *runs away* }
  if (%bt.rand == 24) { .msg $chan These, no these are real. }
  if (%bt.rand == 25) { .msg $chan I do drugs, but I don't think it affects me too much. }
  if (%bt.rand == 26) { .msg $chan This is just too much... }
  if (%bt.rand == 27) { .msg $chan I think you know the answer to that, $nick ;) }
  if (%bt.rand == 28) { .msg $chan Shh, that's my and Peachy's little secret. ;) Hehe. }
  if (%bt.rand == 29) { .msg $chan 42. }
  if (%bt.rand == 30) { .msg $chan Three wrongs don't make a right, but three rights make a left, and now it's time for the show! *dances with a fruit hat* }
  if (%bt.rand == 31) { .msg $nick What do you sa we get away from these losers and go someplace private? ;) }
  if (%bt.rand == 32) { .msg $nick That's such a personal question! I mean, all I can think of is the time Daisy dumped me and then my brother started dating her and I was stuck with some cheap whore and I got drunk every night and woke up penniless and broken in a bucket hanging from a lamppost in an alley somewhere off the road to nowhere! *sobwhinebitchmoan* *cries on $nick 's shoulder* }
  if (%bt.rand == 33) { .msg $chan $me slaps $nick }
  if (%bt.rand == 34) { .msg $chan $me shushes $nick }
  if (%bt.rand == 35) { .msg $chan Yes, my good sire, I am! }
  if (%bt.rand == 36) { .msg $nick This is just between you and me, but I really wanna sex Ri up. }
  if (%bt.rand == 37) { .msg $chan Oh, shut up you trumpet-sucking tube sock. }
  if (%bt.rand == 38) { .msg $chan $me stares at $nick 's boobies }
  if (%bt.rand == 39) { .msg $chan Did you hear something? }
  if (%bt.rand == 40) { .msg $chan What a clever impression of a stupid poor person! }
  if (%bt.rand == 41) { .msg $chan There is no good answer to that question... *whistles* }
  if (%bt.rand == 42) { .msg $chan $me axes $nick "Shaddup!" }
  if (%bt.rand == 43) { .msg $chan $me shoves $nick through a 12-inch porthole in the wall }
  if (%bt.rand == 44) { .msg $chan $me kills everone }
  if (%bt.rand == 45) { .msg $chan It's because I'm short isn't it? }
  if (%bt.rand == 46) { .msg $chan OMFGIJFYM! HAHAHA 8D }
  if (%bt.rand == 47) { .msg $chan $me emits pelican blood }
  if (%bt.rand == 48) { .msg $chan if you don't shut up, I'm going to shove your babbling orfice full of whatever I can find. }
  if (%bt.rand == 49) { .msg $chan Yes, I did. Why? }
  if (%bt.rand == 50) { .msg $chan $rand(1,$nick($chan,0)) probably knows. ;) }
  if (%bt.rand == 51) { .msg $chan $rand(1,$nick($chan,0)) is a whore anyway, so who cares? }
  if (%bt.rand == 52) { .msg $chan $me shover $nick closer to $rand(1,$nick($chan,0)) and winks }
  if (%bt.rand == 53) { .msg $nick $rand(1,$nick($chan,0)) really smells bad, huh? }
  if (%bt.rand == 54) { .msg $chan GENTLEMEN! I GIVE YOU... $rand(1,$nick($chan,0)) !!! }
  if (%bt.rand == 55) { .msg $chan think you had better ask that to $rand(1,$nick($chan,0)) >_> }
  if (%bt.rand == 56) { .msg $chan $me sobs-"I'M SO SORRY!" }
  if (%bt.rand == 57) { .msg $chan $nick WHERE THE FRACK HAVE YOU BEEN, MAN? }
  if (%bt.rand == 58) { .msg $chan You're no fun. |:< }
}

0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users