$nick has no value in a timer... Maybe you mean
$me? If you need
$nick from some on TEXT trigger, you'll have to pass the
$nick as a parameter, like:
//timer 00:00 1 1 change $nickand use
$1 where you used
$nick in the alias. You may need to do the same for the other aliases you call from this /change alias...
I don't really know why you use 2 sets of brackets for the condition?
Just
if (stuff == otherstuff) {
commands
} is ok already. Putting () around each of multiple tests combined with && and || and () around the entire expression is ok, I'd advise it even.
If there's only one command following the if, you can put it on the same line without using {}, like
if (stuff == otherstuff) somecommandSome people advise against it though, I'm just not one of them :tongue:
ps:
else if works too, it's just a command inside an else clause, but
elseif is nicer ofcourse