To have random responses, put your different responses in a text file. Each line is a seperate response.
Then you can use the $read identifier.
$read(textfile.txt) will resd a random line from textfile.txt. Make sure you point to the path correctly.
on *:text:*:#:{
if (%nicktxt_ [ $+ [ $nick ] ] > 3) return
if ($me isin $1-) {
msg # $read(text.txt)
inc -u3 %nicktxt_ [ $+ [ $nick ] ]
}
}
You will have to create your own text file. Make sure the file path is correct.
Random Reply1
Random Reply2
Random Reply3