From AardWiki

Main: HowToTestForGoodEvilNeutral

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)

Retrieved from http://www.aardwolf.com/wiki/index.php/Main/HowToTestForGoodEvilNeutral
Page last modified on December 30, 2008, at 05:14 PM EST