Push.script

From AGI Wiki
Revision as of 16:28, 2 August 2013 by Andrew Branscom (talk | contribs) (Created page with "The '''push.script''' command (previously known as '''unknown171''') saves the current position in the script buffer so that it can be restored later by a ca...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The push.script command (previously known as unknown171) saves the current position in the script buffer so that it can be restored later by a call to pop.script.

push.script();

Note: the name of this command is a little misleading. It does not push a position onto a stack. Every time this command is issued, it overwrites the last saved position.

This command must be called before pop.script is called.

Note: this command does not work with the AGI Mouse hack, which replaces this command.

 

Parameters

This command takes no parameters.

Possible errors

(Unknown)

Examples

See the Memory and Script article for examples.

See also

Sources