Macros

From Iris2

Jump to: navigation, search
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>
-
<h2> <span class="mw-headline"> notes </span></h2>
+
 
 +
=== notes ===
<p>if you want to make a script that runs longer or waits for something, you need to start it as a job/coroutine:
<p>if you want to make a script that runs longer or waits for something, you need to start it as a job/coroutine:
Line 162: Line 163:
<p>not all commands from uo are implemented yet, please tell us which ones you consider most important of the missing ones.
<p>not all commands from uo are implemented yet, please tell us which ones you consider most important of the missing ones.
</p><p><br>
</p><p><br>
 +
 +
for a list of all available functions see http://zwischenwelt.org/trac/iris/browser/trunk/lua/lib.macrolist.lua
 +
for complex script see [[Scripting]]
for complex script see [[Scripting]]

Revision as of 20:52, 15 November 2009

Personal tools