From QuIRC
Jump to navigation Jump to search

The butt bot function will replace a random word in a string with the word 'butt'

The function only works if the message includes a word listed in the bbwords.csv file of the installation and will run randomly when that condition hits (approximately 25% of the time.)

To up the amount of times the bot will respond, edit lines 95 & 97 so the bot will be able is able run at a different limit. The bot for 25%, picks a number between 1-4 and runs if the number is 1.

To change the trigger list

When removing words
just take the word from the list and one of the adjacent commas
To add words
Add the word to list and ensure their is a comma either side of it.