Difference between revisions of "AGI Command Reference - String Management Commands"
From AGI Wiki
Jump to navigationJump to searchLine 27: | Line 27: | ||
| | ||
+ | == <br />set.string(n, m); == | ||
+ | <blockquote>Stores message number m in the string variable n.</blockquote> | ||
+ | |||
+ | == word.to.string(n, m); == | ||
+ | |||
+ | <blockquote>Word number m of the user input is stored in String(n).</blockquote> | ||
+ | |||
+ | == get.string(n, m, x, y, l); == | ||
+ | |||
+ | <blockquote>User input is stored in String(n). m is the number of the message used as the prompt, x, y, l are input position and maximum string length.</blockquote> | ||
+ | |||
+ | == parse(n); == | ||
+ | |||
+ | <blockquote>Parses String(n) as if it were entered by the player.</blockquote> | ||
+ | |||
+ | == get.num(n, m); == | ||
+ | |||
+ | <blockquote>Enters a number from the keyboard into Var(m). Message n is used as the prompt.</blockquote> | ||
| |
Revision as of 22:48, 22 December 2013
Tutorials Table of Contents
AGI Command Reference Index
set.string(n, m);
Stores message number m in the string variable n.
word.to.string(n, m);
Word number m of the user input is stored in String(n).
get.string(n, m, x, y, l);
User input is stored in String(n). m is the number of the message used as the prompt, x, y, l are input position and maximum string length.
parse(n);
Parses String(n) as if it were entered by the player.
get.num(n, m);
Enters a number from the keyboard into Var(m). Message n is used as the prompt.
Tutorials Table of Contents
AGI Command Reference Index
< Previous: Text Management CommandsNext: Initialization Commands >