Short n sweet - just type repstat to make it work once loaded.


; Attribute reader written by Neeper and Vitae
; type repstat
/def -mregexp -t'^Str :\[([0-9 ]+)/([0-9 ]+)\]  Int :\[([0-9 ]+)/([0-9 ]+)\]  Wis :\[([0-9 ]+)/([0-9 ]+)\]  Hr :\[([0-9 ]+)\]' stat_line1 = \
 /set reportstats Str: [%P1/%P2] Int: [%P3/%P4] Wis: [%P5/%P6] HR: [%P7]
/def -mregexp -t'^Dex :\[([0-9 ]+)/([0-9 ]+)\]  Con :\[([0-9 ]+)/([0-9 ]+)\]  Luck:\[([0-9 ]+)/([0-9 ]+)\]  Dr :\[([0-9 ]+)\]' stat_line2 = \
 /set reportstats $[reportstats] Dex: [%P1/%P2] Con: [%P3/%P4] Luck: [%P5/%P6] DR: [%P7]%; \
  /set dr %{P7}%;%;/: this line and from here down credit is given to Sarlock (slight modification by Vitae)%;\

/alias repstat \
/if ({dr}={}) \
  /echo I need some values, run attr first.%; \
/else \
  /echo Remember that the stats only update after a fresh 'attr' command.%; \
  /if ({*}=/{}) \
    /set channel say%; \
  /else \
    /set channel %*%; \
  /endif%; \
  %channel Stats: [%reportstats] %; \
/endif