Originally Posted By: maroon
I guess "people" is me, the only one who has replied. I was having trouble understanding you, so I took a guess at what you wanted, and apparently guessed wrong. I can't "put the script together", as I have no idea what it's supposed to do.

If you want a response to be random, then use $rand(). You can have var %a = $rand(1,3) pick a random number from 1-3, or $rand(a,c) pick a random letter from 'a' to 'c'. You can then take your random action depending on what value is in %a. If %a has the value 'a' or 'b' or 'c', you can:

if (%a = a) do action1
if (%a = b) do action2
if (%a = c) do action3

Or you can create labels ":labelA" and ":labelB" and ":labelC", where the different actions are located, then you can do:

goto Label $+ $rand(a,c)



i'll show you how the command is going to be used here:

Username1 uses command on username2 of their choice: !commandname username2

the command would either response with:

Username1 does action to username2
/timeout $2

username1 does action to username2, "add extra command response for what the command would be used as"
/timeout $1

If the $nick username1 used it on is a moderator, it would response with: command failed, you cannot target that user.

I've been looking for a while for a base/script for this but cannot find anything as specific.