Es.keygetvalue
From EventScripts Community Encyclopedia
[edit] Method: keygetvalueModule: es [edit] Method Overview[edit] Table of Contents
[edit] DescriptionRetrieve the value from the specified valuename. This is the Python equivalent of: http://www.eventscripts.com/pages/es_keygetvalue [edit] Arguments
[edit] Exampleses.keygroupcreate("MyKeyGroup") es.keycreate("MyKeyGroup", "MyKey") es.keysetvalue("MyKeyGroup", "MyKey", "MyValue", "Python is GREAT!") myVar = es.keygetvalue("MyKeyGroup", "MyKey", "MyValue") "myVar" will now equal "Python is GREAT!" and could be used as such if myVar == "Python is GREAT!": es.msg("#green", "You're 100% correct!" [edit] Notes
[edit] See Also |
|
