Set.cursor.char
From AGI Wiki
Jump to navigationJump to searchThe set.cursor.char command sets the cursor character.
Syntax
set.cursor.char(msg mCURSORCHAR);
set.cursor.char("message text");
Remarks
The cursor character (the character displayed at the end of the player input line) is set to the first character of the message referenced by argument mCURSORCHAR.
Possible Errors
None.
Example
Code:
<syntaxhighlight lang="agi"> set.cursor.char("_"); [ underscore is a common choice for cursor set.cursor.char(">>>"; [ only the first character is used </syntaxhighlight>
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 108 (0x6C hex) |