Location Saved

From Gwen Morse's Wiki
Jump to: navigation, search
;;; Locsaved Macro
; Written for Gwen Morse by Andrew Mortimer and modified by 
; "Brack" <slayer at kaiwan dot com> tracks possible claims 
; on CrystalMUSH in a log file to return to later

/more off
/set locsavedhandle=$[tfopen("claims.log","a")]
/def -mregexp -t'^Loc: \([A-Z]+ [0-9]+ [A-Z]+\) ' lcsave=\
  /set locsaved=%P1
/def -t'*You see no traces of a paintmark*' lctrig=\
  /test tfwrite({locsavedhandle}, strcat(ftime("%c", time()), " ", {locsaved}))