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

Back to Reference

CUSTOM_* Element

Contains all type-specific data for a location of type "CUSTOM_*".

Note: "CUSTOM_*" is not the specific name of an element; it represents any custom-defined location type, such as CUSTOM_FOO, CUSTOM_BAR, etc.

Syntax

Dependent upon the format you choose.

Attributes

Dependent upon the format you choose.

TQS 2.5 The SHOWSCORE attribute is supported. If set to "1", TQS will display score statistics for the current location, such as number tried, correct, wrong, and percent correct. You must use the scoring functions to manipulate the scores. Defaults to being hidden.

Placement

CUSTOM_* elements are used within the LOC element to provide location-specific data, and may be used within the GLOBAL element to provide global settings.

Children

The following child elements are supported:

Usage of other child elements is dependent upon the format you choose.

Remarks

All data specific to a particular location, but for a given CUSTOM_* type, goes under the CUSTOM_* element. How this data is organized and used is up to you, the author of the custom location type.

Examples

<LOC
  ID="1"
  TYPE="CUSTOM_FOO">
  <CUSTOM_FOO>
    <FOOHOLDER>
      <FOO BAR="Foo 1"/>
      <FOO BAR="Foo 2"/>
    </FOOHOLDER>
  </CUSTOM_FOO>
</LOC>
<GLOBAL>
  <CUSTOM_FOO COLOR="#FF00FF">
    <BAR COLOR="#00FF00"/>
  </CUSTOM_FOO>
</GLOBAL>


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