How To Test For Good Evil Neutral

The old mobprog system had 3 commands for isgood, isevil and isneutral. The Lua based system allows you to be more specific and test the character alignment number. To get the equivalents of the old commands use:

if ch.align >= 875 then .... (good alignment)

if ch.align <= -875 then .... (evil alignment)

if ch.align > -875 and ch.align < 875 then .... (neutral)