User Tools

Site Tools


lua:ch:at

Differences

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

Link to this comparison view

lua:ch:at [2014/12/27 07:08]
vodur created
— (current)
Line 1: Line 1:
-Syntax: 
- 
-ch:​at(string) 
- 
-Format: \\ 
-at [location] [command] : execute command at location 
- 
-Accepts [[:​lua:​formatargs|format arguments]]. 
- 
-Examples: 
- 
-\\ 
- 
-<code lua> 
-mob:​at(ch.name.."​ dance"​) 
-</​code>​ 
- 
-<code lua> 
-mob:​at("​%d say hi there stranger",​ doggy.room.vnum) 
-</​code>​ 
- 
-If you want to use functions within your at statement, you'll need to treat the at statement like an old mprog: 
- 
-<code lua> 
-mob:​at("​%d mob mload 9313", wing_vnums[r]) 
-</​code>​ 
  
lua/ch/at.1419664086.txt.gz ยท Last modified: 2014/12/27 07:08 by vodur