Macros

From Iris2

Jump to: navigation, search
(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 ===

Revision as of 13:55, 20 February 2010

Personal tools