if(M.altitude==!caster.altitude)
caster << "<b><font color=red>You shoot at [M] but you are not on the same altitude so you do no damage!"
Problem description:
Does this mean is mob altitude isnt the same as the casters? If it doesnt, can someone show me wha is?
Have a look through the reference (Hit F1 in DreamMaker)