Originally Posted By: maroon
You're still being vague as to what you want it to do 'randomly'. If your random response is to pick a random line from a text file and message that to channel, you can use the $read function in a way that returns a random line from a text file:

msg $chan $nick $+ : $read(filename.txt,nt)

Since you did not use a number or other switches, this reads a random line, which the /msg command is "saying" to the channel as if you typed it.

It's going to be frustrating for you to get what you want, when you're being vague about what you want, as well as not understanding the magic scripting language that does things you don't understand.


Response a would be the message and the timeout on $2 who the $user used the cmd on, response b would be the msg and timeout on $user who used the cmd, I understand the basic stuff on it just more in depth scripting is not really something I can pickup on easy, i've been looking over it for a few days now and still have no clue how to set the response to be random nor how to set a response if someone used the cmd on me.

Last edited by Vadu; 16/04/18 11:40 PM.