Does the elseif statement work as a nesting statement? Here is an example it is nothing just showing kinda what i mean.
PHP Code:
Function onCreated(){
if (rawr ==rawr){
blah;
} elseif (rawr == 2){
woot;
} elseif (rawr == 5){
woot;
}
The way it works is which ever if statement is true it will run first without stopping to look at the others
__________________
Quote:
Game Master (Server): Greetings PrinceOfKenshin, there are new posts on the forums that demand your urgent attention! God speed, the fate of the world is in your hands. If you fail, middle earth will forever be in the darkness and your children will be enslaved by McKain.