Originally Posted By: maroon
You have no "if", so there's no "else".
You also have an unbalanced number of braces, so the code outside the matched braces is either ignored, or can possibly produce errors depending on what is the text. I don't want to guess what "if" condition you're wanting to make $true in order for the $false to cause your "else" to take action.

The curly braces allow grouping several lines of commands into one branch of a conditional, so you can do something like:'

if ($version > 7) {
command1
command2
}
else {
command3
command4
}

It looks like you need to read a little more about how the scripting language works. Take a better look at your /help as well as look at
https://en.wikichip.org/wiki/mirc/conditional_statements
and other similar topic links there.


Basically when someone uses the command I want it to be randomized for the response given, hence the repeat of command with the user's nickname using the command and who he is using the command on, if that makes sense. if you could put this script together so it works properly i'd appreciate it, I only just started a few days ago so totally clueless sorry, read what you linked and it doesn't really clear everything i'm looking for on the post. frown