Vote for Our Mud on TMC!

help > w > alignment
Wizard alignment documentation

You can determine a player's alignment by calling query_alignment() on
that player.  It will return an integer... The more negative the integer,
the more evil the player.  The more positive, the more good.  You can call
query_alignment_title() on the player to get the alignment title for
their alignment.

Now, players alignments primarily change only when they kill an npc that
has its alignment set.  So PLEASE put set_alignment(x) in the reset of
your npcs!!!!  The standards of what x should are as follows:
-1000 is basically the most extreme evil you want to set anything
+1000 is basically the most extreme good you want to set anything
You can of course go beyond these figures, but only in special cases.