Es keydelete

From EventScripts Community Encyclopedia


Overview

Syntax: es_keydelete [keygroup] <key>

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: {{{x}}}

Description

Deletes a key from a keygroup (or without a keygroup).

Parameters

  • keygroup - Name of the keygroup you wish to delete the key from.
  • key - Name of the key you wish to deleete.


Examples

es_keygroupcreate mykeygroup
es_keycreate mykeygroup mykey
es_keydelete mykeygroup mykey

Sometimes you need to simply delete a key. There are many reasons for this. Maybe you want to reset all the values easily, so you just delete then re-create it. Or maybe you are using es_foreachkey and the existance of that key may throw off your loop. Or maybe you just want to free up memory. In any case the example above will create the keygroup mykeygroup then create the key mykey inside of it then delete it.


Notes

(None)


See also


External links

es_xkeydelete


{{{category}}}

blog comments powered by Disqus