Random Generator? - 19/12/14 08:11 AM
How do get my bot to react in a random generator. I know it's possible to do with numbers but I want to do it with words for example what I have now is
on *:TEXT:!slap:#: { msg $chan /me challenges you to a slap fight you }
and it will appear saying Nin10dohBot challenges you to a slap fight you
Now that is the issue I want it to be randomize and have two different outcomes when ever !slap triggers the bot so i want one where it says
Nin10dohBot challenges you to a slap fight you win and stand over the bot triumphantly after winning the battle.
or
Nin10dohBot challenges you to a slap fight you lose and the bot continues to slap you silly with a giant trout.
Can anyone help me with the script?
on *:TEXT:!slap:#: { msg $chan /me challenges you to a slap fight you }
and it will appear saying Nin10dohBot challenges you to a slap fight you
Now that is the issue I want it to be randomize and have two different outcomes when ever !slap triggers the bot so i want one where it says
Nin10dohBot challenges you to a slap fight you win and stand over the bot triumphantly after winning the battle.
or
Nin10dohBot challenges you to a slap fight you lose and the bot continues to slap you silly with a giant trout.
Can anyone help me with the script?