random !insult

By jewsus on Nov 28, 2007

This is a snippet for a bot to create a random insult out of preset words.

Simply paste it in remotes and set the text files that it will read from into a separate(or the same, really) folder and change [direct] to direct the $read to them, starting from the main mIRC directory. Don't forget to add the correct types of words to the files, or you'll get some pretty goofy insults.

Also, don't forget to add fat mother jokes to the mother text file, with the text beginning after 'is so fat, . . .'(1 in 4 chance of backfire 'Yo' momma' joke) and set the initial %insulter variable to 'on'.

Example:

<%jewsus> !insulter on
<~Judgematron>[] My insult function has been turned on []
<%jewsus> !insult R2D2
<~Judgematron> I hear that R2D2 is a .

Comments

Sign in to comment.
ZiX   -  Nov 29, 2007

Nice Job Jewsus. :D

 Respond  
napa182   -  Nov 29, 2007

Nice work jewsus keep it up...

 Respond  
Mushufasa   -  Nov 29, 2007

I\'m pretty new to this, but wouldn\'t that give a chance of both of them being set off instead of just one?

No, I don\'t believe so. Also, there isn\'t a need for the unset % command either, as data will automatically be overwritten with the use of this script (I believe so anyways, been a while so please correct me if I\'m wrong. :P)

However, saying this I like how you created the script to make sure it works, even though there may be some uneccesary coding. It ensures everything works as it is detailed to which is (Y)\'able.

Nice work and keep it up. This script makes practical use of fun bots on channels. :)

 Respond  
jewsus   -  Nov 29, 2007

I\'m pretty new to this, but wouldn\'t that give a chance of both of them being set off instead of just one?

 Respond  
tzar469   -  Nov 29, 2007

You don\'t need the %insult variable. You can have
if ($rand(1,4) == 1) { }
else { }

 Respond  
jewsus   -  Nov 28, 2007

Mmm, yeah. I\'ll be sure to fix that. xD
Right now, though, (edit) is acting up for me on this and I can\'t get into the page.(half of the html is posting inside of the editbox for the description)

 Respond  
Zsadist   -  Nov 28, 2007

for the set %insult and the timer 1 5 unset just take out the timer and change it to this: set -u5 %insult $rand(1,4) So it will automatically unset alot easier.

 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.