Macros
From Iris2
Ghoulsblade (Talk | contribs) |
Ghoulsblade (Talk | contribs) (→notes) |
||
| Line 147: | Line 147: | ||
MacroRead_TargetStat(statname) -- read stats of selected target, statname can be one of curHits,maxHits | MacroRead_TargetStat(statname) -- read stats of selected target, statname can be one of curHits,maxHits | ||
</pre> | </pre> | ||
| + | |||
| + | === journal === | ||
| + | |||
| + | |||
| + | gMyJournal = {} | ||
| + | RegisterListenerOnce("Hook_Text",function (name,plaintext,serial,data) table.insert(gMyJournal,plaintext) ,"My_Hook_Text") | ||
| + | lastid = #gMyJournal | ||
| + | lastline = gMyJournal[#gMyJournal] | ||
| + | |||
=== notes === | === notes === | ||
