8Ball
Please Register to submit score.
| Average Score | 0.0 |
| Scores Submitted | 0 |
| Date Added | Feb 22, 2008 |
| Last Updated | Feb 22, 2008 |
| Tags | 8ball bots fun games |
Introduction
mIRC Snippet:
8Ball
Posted on Feb 22, 2008 5:13 am
Posted on Feb 22, 2008 5:13 am
Hi, you could also do it like this. to add more answers, add them to the var and use + for spaces.
| Code: |
| on *:text:`8ball *:#: { describe $chan is looking into the 8ball. var %~ = Yes. No. Maybe. Try+again+later. msg # $replace($gettok(%~,$r(1,$numtok(%~,32)),32),+,$chr(32)) } |
mIRC Snippet:
8Ball
Posted on Feb 22, 2008 9:41 am
Posted on Feb 22, 2008 9:41 am
humming_hi, no need for $replace, just set the var with a delimeter like "Yes.|No.|Maybe.|Try again later.|other words with spaces."
or better yet, u could $gettok 46 since they all end in periods
or better yet, u could $gettok 46 since they all end in periods
mIRC Snippet:
8Ball
Posted on Feb 24, 2008 3:40 am
Posted on Feb 24, 2008 3:40 am
all just make it read from a text file that way people wouldnt have to edit the script and just put there own words in :)
mIRC Snippet:
8Ball
Posted on Feb 24, 2008 3:41 am
Posted on Feb 24, 2008 3:41 am
oh my mistake thats wot he has done :S






