Savvy?
no Jack Sparrow, mIRC script doesn't work like that ;)
if statements, while loops, /var and a few others are commands that involve exceptional parsing routines. in order for this to happen in the case of elseif, for example, "elseif" needs to appear literally at the start of the command. mIRC needs to be able to detect it before it starts evaluating identifiers and variables in your code.
and even if it did work, it would result in rather poor code since the condition(s) contained in '$sc' would be re-examined unnecessarily. this is the logic you're aiming for:
if ($2 == sclick) {
if ($3 == 2) {
}
elseif ($3 == 3) {
}
elseif ($3 == 4) {
}
}