if you're using the on-line~browser version, I believe you have to use the "start" script under the "game" Object to add the "set a variable or attribute" scripts:
(in the off-line~desktop version):
"game" -> Scripts (Tab) -> add a script -> variables -> set a variable or attribute ->
Object.Attribute = Value_or_Expression
for examples:
game.turns_integer = 0
player.turns_integer = 0
HK.favorite_color_string = "black"
orc.physical_damage_integer = orc.weapon_damage_integer + orc.weapon_damage_integer * (orc.strength_integer - HK.endurance) / 100
HK.favorite_colors_string_list = split ("black;red", ";")
------------------------
some useful links for you:
01.
http://quest5.net/wiki/Main_Page02.
http://quest5.net/wiki/Tutorial03.
http://quest5.net/wiki/How_to (guides)
04.
http://quest5.net/wiki/Showing_a_menu05.
http://quest5.net/wiki/Character_Creation06.
http://quest5.net/wiki/Category:All_Fun ... t_Commands (page 1, range: A-S)
07.
http://quest5.net/w/index.php?title=Cat ... t#mw-pages (page 2, range: S-Z)
08.
viewforum.php?f=18 (more guides: libraries and code)