Open main menu

Difference between revisions of "AGIWiki/new.room"

173 bytes removed ,  16:45, 31 January 2015
m
no edit summary
m
Line 3: Line 3:
{{AGIWiki}}
{{AGIWiki}}


The '''new.room''' command changes the current room number to a new [[AGIWiki/Room|room]] and forces an update. There is an [[AGIWiki/Indirect command|indirect]] version of this command called '''new.room.v'''.
The '''new.room''' command changes the current room number to a new [[AGIWiki/Room|room]] and forces an update. There is an [[AGIWiki/Indirect command|indirect]] version of this command called '''[[AGIWiki/new.room.v|new.room.v]]'''.


== Syntax ==
== Syntax ==
Line 37: Line 37:


* <code>roomNumber</code><nowiki>: a number, 0-255, specifying which room to switch to </nowiki>
* <code>roomNumber</code><nowiki>: a number, 0-255, specifying which room to switch to </nowiki>
=== For <code>new.room.v</code> ===
* <code>roomNumber</code><nowiki>: a </nowiki>[[AGIWiki/Variable|variable]], <code>v0</code>-<code>v255</code>, whose value specifies which room to switch to


== Possible errors ==
== Possible errors ==
885

edits