TQS Home
Trivia Quiz Shell Version 2.8 Now Available!Bot Productions Home
TQS 2.5

Back to Reference

USERNAME Dynamic Value

Specifies name of the current user, as the user typed it in.

Syntax
USERNAME
Remarks

The user name is collected when the REPORT element's GETNAME attribute is set to "1".

Example

This global finish button uses the USERNAME dynamic value to congratulate the user and go back to a menu:

<REPORT GETNAME="1" ...>
  ...
</REPORT>
<GLOBAL>
  ...
  <FINISH>
    <BUTTON
      TITLE="Good job, %U! Back to Main Menu."
      SUBST="%U,USERNAME"
      TARGET="0"
      APPLIESTO="ALL"
    />
  </FINISH>
</GLOBAL>

©2020 Bot Productions. All rights reserved.Last Updated: June 14, 2001