Any time you only want one statement to be executed, you should use elsifs. In this case, you can be sure that only one statement will ever be executed (you can't be both a warrior and necro for example, and you won't be more than one lvl at the same time), so you should use elsifs there.
Using elsifs can reduce server load since once one if is found true, it won't check any of the other elsifs.
|