Examples ...
if (comparison) { command }
elseif (comparison) { command }
else { command }
I read it as a sentence.
If such and such is true, do this command.
Else if such and such is true do THIS command.
else do this command ....
The thing is, when you have an if statement it will evaluate the comparison and if it is true it will perform the command. Then it will move on to the next line UNLESS you return or halt or use elseif or else.
When you read it like a sentence it makes sense.
if (this is true) { do this }
elseif (this is true) { do this }
else { do this }
on 1:open:?: {
.notice $Me $nick te manda un privado
if (%nick isin %nolist) { .echo -a 1,8Testeando.. }
elseif (%nick) {
if (%ve == 1) { .echo -a 1,3Aprobado )
elseif (%ve == 0) { .notice $Nick no has sido aceptado | close -m $NIck | halt }
}
}
}
Try this, I don't really know the point or the different variables so I couldn't give you the best option.