User Tools

Site Tools


lua:ch:act

Differences

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

Link to this comparison view

Next revision
Previous revision
lua:ch:act [2014/06/20 19:28]
vodur created
— (current)
Line 1: Line 1:
-<code lua> 
-</​code>​ 
- 
-Check ACT flag (NPCs) or PLR flag (PCs). 
- 
-See [[lua:​flagcheck]] for syntax reference. 
- 
-<code lua> 
-if mob:​act("​safe"​) then 
-  mob:​say("​I'​m safe") 
-end 
- 
-if ch:​act("​helper"​) then 
-  mob:​say("​You'​re a helper."​) 
-end 
-</​code>​ 
  
lua/ch/act.1403292502.txt.gz ยท Last modified: 2014/06/20 19:28 by vodur