This alignment reporter was contributed by Sarlock.


; Align reporter.
; Written by Sarlock .
; Licensed under GPL .
; Read it if you don't know what it is.

; Reports align to channel gtell after each mob is killed.
; Toggle on/off with gsay.


/alias gsay \
/if ({gsay}=0) \
  /set gsay=1%; \
  /echo Turned on align report to group.%; \
/else  \
  /set gsay=0%; \
  /echo Turned off align report to group.%; \
/endif

/def -p1 -mregexp -t'You receive (.*) experience points\.' = \
   /if ({gsay}=1) \
   align%; \
   /endif %;

/def -p1 -ag -mregexp -t'Your alignment is: (.*)\.' alset = \
  /set align=%P1 %; \
  /if ({gsay}=1) \
    gtell Align: %align. %; \
  /else \
    /echo Your alignment is: %align%; \
  /endif %;