DeleteVar
deletevar deletes the % variable with the given name, written without the %. Only % variables can
be deleted this way.
It is kept for older scripts: set %name with no value empties a variable just as well.
Example
Section titled “Example”set %test TESTdeletevar test ; no % in frontdisplay ok %test ; N/A: the variable is goneset %test TESTset %test ; the same, the usual waydisplay ok %test ; N/A againhaltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.