AGI Command Reference - String Management Commands: Difference between revisions
From Sierra Wiki
Jump to navigationJump to search
sierraw>Andrew Branscom |
m 2 revisions imported |
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 09:03, 16 February 2025
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.
References
Related Links
< Previous: Text Management CommandsNext: Initialization Commands >