/event {OmaLootStartup} {2} {/disablegroup OmaLootAct;/disablegag { %0};/read OmaLootWatch.txt;/disableevent OmaLootStartup;/showme {@AnsiBold()@ForeYellow()--OmaLoot-- @ForeGreen()Initialized!}} {OmaLoot} /action { [%0]%1} {/empty OmaLootWatch;/if {@InList(OmaLootWatch,@LTrim($1))==1} {/var OmaLootWatch {@AnsiBold()@ForeRed()<<}};/var OmaLootMacCount @Math($OmaLootMacCount+1);/mac {a@PreTrans(@GetItem(OmaLootTemp,1))} {get @PreTrans(@Mid(@Word($1,@WordCount($1)),0,@Math(@Len(@Word($1,@WordCount($1)))-1))) corpse} {OmaLootMacros};/var OmaLootMacNum @GetItem(OmaLootTemp,1);/itemdel OmaLootTemp 1;/showme {[@AnsiBold()@ForeMagenta()@Var(OmaLootMacNum)@AnsiReset()][@ForeGreen()@Mid(@LTrim($0),0,5)@AnsiReset()]@AnsiBold()@ForeCyan()@RTrim($1) @ForeWhite()[@ForeBlue()@Mid(@Word($1,@WordCount($1)),0,@Math(@Len(@Word($1,@WordCount($1)))-1))@ForeWhite()]$OmaLootWatch@AnsiReset()}} {OmaLootAct} /alias {olootadd %0} {/itemadd OmaLootWatch $0;/showme {@AnsiBold()@ForeBlue()"@ForeCyan()$0@ForeBlue()" added to the OmaLootWatch list -- Saved!};/writegroup OmaLootWatch.txt OmaLootWatch} {OmaLoot} /action { gold coins} {/var OmaLootMacCount @Math($OmaLootMacCount+1);/mac {a@PreTrans(@GetItem(OmaLootTemp,1))} {get gold corpse} {OmaLootMacros};/var OmaLootMacNum @GetItem(OmaLootTemp,1);/itemdel OmaLootTemp 1;/showme {[@AnsiBold()@ForeMagenta()@Var(OmaLootMacNum)@AnsiReset()]@AnsiBold()@ForeYellow()gold coins@AnsiReset()}} {OmaLootAct} /gag { %0} {OmaLootAct} /gag {# Memory cleared:} {OmaLootAct} /gag { Events(%9), Gags(%8), Highlights(%7), Lists(%6)} {OmaLootAct} /gag { Macros(%9), Subsitutions(%8), Tab Words(%7), Variables(%6)} {OmaLootAct} /action {<%5hp %4m %9mv %7b%8>} {/disablegroup OmaLootAct} {OmaLootAct} /var {OmaLootWatch} {null} {OmaLoot} /listadd {OmaLootWatch} {OmaLootWatch} /itemadd {OmaLootWatch} {a misty potion} /listadd {OmaLootMain} {OmaLoot} /itemadd {OmaLootMain} {0} /itemadd {OmaLootMain} {1} /itemadd {OmaLootMain} {2} /itemadd {OmaLootMain} {3} /itemadd {OmaLootMain} {4} /itemadd {OmaLootMain} {5} /itemadd {OmaLootMain} {6} /itemadd {OmaLootMain} {7} /itemadd {OmaLootMain} {8} /itemadd {OmaLootMain} {9} /itemadd {OmaLootMain} {a} /itemadd {OmaLootMain} {b} /itemadd {OmaLootMain} {c} /itemadd {OmaLootMain} {d} /itemadd {OmaLootMain} {e} /itemadd {OmaLootMain} {f} /itemadd {OmaLootMain} {g} /itemadd {OmaLootMain} {h} /itemadd {OmaLootMain} {i} /itemadd {OmaLootMain} {j} /itemadd {OmaLootMain} {k} /itemadd {OmaLootMain} {l} /itemadd {OmaLootMain} {m} /itemadd {OmaLootMain} {n} /itemadd {OmaLootMain} {o} /itemadd {OmaLootMain} {p} /itemadd {OmaLootMain} {q} /itemadd {OmaLootMain} {r} /itemadd {OmaLootMain} {s} /itemadd {OmaLootMain} {t} /itemadd {OmaLootMain} {u} /itemadd {OmaLootMain} {v} /itemadd {OmaLootMain} {w} /itemadd {OmaLootMain} {x} /itemadd {OmaLootMain} {y} /itemadd {OmaLootMain} {z} /itemadd {OmaLootMain} {F1} /itemadd {OmaLootMain} {F2} /itemadd {OmaLootMain} {F3} /itemadd {OmaLootMain} {F4} /itemadd {OmaLootMain} {F5} /itemadd {OmaLootMain} {F6} /itemadd {OmaLootMain} {F7} /itemadd {OmaLootMain} {F8} /itemadd {OmaLootMain} {F9} /itemadd {OmaLootMain} {F10} /itemadd {OmaLootMain} {F11} /itemadd {OmaLootMain} {F12} /listadd {OmaLootTemp} {OmaLoot} /var {OmaLootMacCount} {OmaLoot} /var {OmaLootMacNum} {null} {OmaLoot} /alias {xx %0} {/enablegroup OmaLootAct;/killgroup OmaLootMacros;/empty OmaLootWatch;/var OmaLootMacNum null;/var OmaLootMacCount 0;/clearlist OmaLootTemp;@CommandToList(OmaLootMain,/itemadd OmaLootTemp $ListItem);/enablegag { %0};/if {@IsEmpty($0)==1} {examine corpse} {exa $0.corpse}} {OmaLoot}