mob/verb/BLAH()
if(Blah == 1)
src << "Do this"
else if(Blah == 2)
src << "Do this."
else if(Blah == 3)
src << "Do <I>this</I>."
else
src << "Yays"
If I do that, does it make the final instance ("Yays") occur only if "Blah" is not equal to 1, 2, or 3? or does it do that any time "Blah" is not 1?
What I need is so that it will do it whenever "'Blah' is not equal to 1, 2, or 3", because I'm using it for my combat system, and I don't want a 5000 charactor if() proc for unimplemented spells; and also I want it to catch typoes if I make any. That way if I have
if(spellchoice == "Fireball")
<dm>
but the spell's name is "Firebal", it will come back with the "Not Implemented" message (or the "Yays" message in the example)