AGI Command Reference - String Management Commands

From AGI Wiki
Revision as of 14:50, 28 December 2013 by Andrew Branscom (talk | contribs)
Jump to navigationJump to search

Tutorials and Guides Table of Contents
AGI Command Reference Index

Page: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16


String Management Commands
By Chris Cromer

 


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.

 

Page: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16


Tutorials and Guides Table of Contents
AGI Command Reference Index

< Previous: Text Management CommandsNext: Initialization Commands >