you almost got it...
the 'get input' command sets automatically~internally (hidden from you):
result = your_typed_in_input_during_game_play
and use 'ALIAS' Attribute, instead of 'NAME' Attribute (as 'NAME' is your ID Attribute, which already is called, 'player', as~for your Object's ID~NAME), too:
set (player, "alias", result)
msg ("Hello " + player.alias + "!")
msg ("What is your name?")
get input {
set (player, "alias", result)
msg ("Hello " + player.alias + "!")
}
or
msg ("What is your name?")
get input {
player.alias = result
msg ("Hello " + player.alias + "!")
}
the full algebraic substitution conception:
player.alias = result = HK (my typed-in input during game play)
player.alias <---> result <---> HK
result <=== HK
player.alias <=== result
thus: player.alias = HK
--------------
helping links:
http://docs.textadventures.co.uk/quest/http://docs.textadventures.co.uk/quest/guides/http://docs.textadventures.co.uk/quest/ ... ation.html (this is direct help for doing this)
http://docs.textadventures.co.uk/quest/ ... input.htmlhttp://docs.textadventures.co.uk/quest/scripts/set.htmlhopefully this is helpful for you!

-----------
if you just want to use your input locally (just for that script, no where else):
msg ("What is your name?")
get input {
msg ("Hello " + result + "!")
}
---------
the basic syntax is this:
Object_name.Attribute_name = Value_or_Expression
~OR~
Variable_name_string = Value_or_Expression
--
Globally (this 'saves' it, thus you can 'load' and use it anywhere, so long as the Object it is attached to, still exists):
an Attribute Variable:
Object_name.Attribute_name = Value_or_Expression
examples:
HK.strength_integer = 100
HK.damage_double = 56.2
HK.dead_boolean = false
HK.favorite_color_string = "black"
HK.favorite_color_list_stringlist = split ("black;red", ";")
HK.head_object = helmet
HK.physical_damage_integer = HK.weapon_damage_integer * HK.strength_integer / 100 - orc.armor_class_integer * orc.endurance_integer / 100
--
Locally (you can't use this in another script):
a Variable Variable:
variable_string_name = Value_or_Expression
strength_integer = 100
damage_double = 56.2
dead_boolean = false
favorite_color_string = "black"
favorite_color_list_stringlist = split ("black;red", ";")
head_object = helmet
my use of the underscores and writing the type of attribute as a part of label for my attributes~variables~objects~etc, is just my own labeling convention~pattern~system that I like using, hehe. You can label your things however you want to for how you label your attributes~variables~objects~etc
------------------------
third person and~or etc:
http://docs.textadventures.co.uk/quest/ ... ticle.htmlhttp://docs.textadventures.co.uk/quest/ ... ender.htmlhope this helps!