If elseif problems. - 29/07/07 02:20 PM
If I had something like
The last elseif won't trigger, such that I have to change the CAPS one to if..
Especially if you have something like:
Anything after a while has to be elseif?
What I had before was:
And changed it to.
Which blocked some of my elseif, making me change some of them to ifs.
And as you must know, they are completely on text event scripts, such as storing varibles, adding up numbers, checking for words, etc.
Code:
on *:text:*:#: { if () { if () { } elseif () { } } elseif () { if () { } elseif () { } } ELSEIF () { } elseif () { } }
The last elseif won't trigger, such that I have to change the CAPS one to if..
Especially if you have something like:
Code:
on *:text:*:#: { if () { } elseif () { } while () { } set %this set %that This has to be if and not elseif () { } elseif { } }
Anything after a while has to be elseif?
What I had before was:
Code:
on *:text:*:#: { if () { if () { } if () { } } if () { if () { } if () { } } if () { } if () { } } }
And changed it to.
Code:
on *:text:*:#: { if () { if () { } elseif () { } elseif () { if () { } elseif () { } elseif () { elseif () { } } }
Which blocked some of my elseif, making me change some of them to ifs.
And as you must know, they are completely on text event scripts, such as storing varibles, adding up numbers, checking for words, etc.