User Tools

Site Tools


lua:ch:wears

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
lua:ch:wears [2014/12/27 08:28] – created vodurlua:ch:wears [2014/12/27 08:29] (current) vodur
Line 3: Line 3:
 Example: Example:
  
-ifmob:wears(46) then\\ +<code lua>if mob:wears(46) then 
-ifmob.stance=="default" then\\ +  if mob.stance=="default" then 
-  mdo("stance blade")\\ +      mdo("stance blade"
-end\\ +  end 
-else\\ +else 
-say("not using a weapon")\\+  say("not using a weapon")
 end end
- +</code>
-\\+
  
lua/ch/wears.1419668880.txt.gz · Last modified: 2014/12/27 08:28 by vodur