User Tools

Site Tools


lua:ch:goto

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
lua:ch:goto [2014/12/27 07:46] vodurlua:ch:goto [2015/11/21 22:39] (current) vodur
Line 1: Line 1:
-goto [string: go to location, wrandom for random room in world, random for random room in area+CH:goto( location [, nolook])
  
-Accepts [[:lua:formatargs|format arguments]].+Arguments:\\ 
 +location [string/number] can be "random", "wrandom", a target name, or a room vnum\\ 
 +nolook [boolean: Optional argument, default is false. If true, the CH will not automatically look after moving to the target location.
  
-Examples: \\+Examples:\\
 ch:goto("wrandom") ch:goto("wrandom")
  
Line 9: Line 11:
  
 goto(31404) goto(31404)
 +
 +goto(31404, true) -- won't force a look
  
lua/ch/goto.1419666381.txt.gz · Last modified: 2014/12/27 07:46 by vodur