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

Back to Reference

getDynVal Function

Retrieves the value of a TQS dynamic value.

Syntax
value = getDynVal(dynVal);
Parameters

dynVal
Specifies which dynamic value to retrieve.
Returns

Returns the value of the dynamic value.

Remarks

Use this function to use dynamic values in ways other than through SUBST attributes.

Example

spanStatus.innerText =
  "Sorry, " + getDynVal("USERNAME") +
  ", that is incorrect."

©2020 Bot Productions. All rights reserved.Last Updated: September 9, 2007