Es keygetvalue

From EventScripts Community Encyclopedia


Overview

Syntax: es_keygetvalue <variable> [keygroup] <key> <valuename>

Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Variation of this command that doesn't expand variables: es_xkeygetvalue

Description

Retrieve the value from the specified valuename.


Parameters

es_xkeygetvalue

  • variable - name of the variable to store the value.
  • keygroup - Name of the keygroup that the valuename resides.
  • key - Name of the key that the valuename resides.
  • valuename - Name of the valuename to retrieve the value of.


Examples

es_keygroupcreate mykeygroup
es_keycreate mykeygroup mykey
es_keysetvalue mykeygroup mykey myvaluename value
es_xsetinfo var 0
es_keygetvalue var mykeygroup mykey myvaluename

Well above we set the value of myvaluename to "value" then we go to store that value into var. So in the end var now contains "value"


Notes

(None)


See also

blog comments powered by Disqus