-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Need to be able to read what's in the ScriptCache to properly manage it.
Ideas:
<{scriptcache.list_scripts}> - ListTag (ScriptTag)
<{scriptcache.has_script[name]}> -> TextTag (Boolean)
<{scriptcache.script[name]}> -> ScriptTag
and the same, but all for functions.
ALSO, script/function tag:
ScriptTag.registered -> TimeTag
ScriptTag.last_used -> TimeTag
ScriptTag.contents -> ListTag (CommandTag) -> actual written code, as a list of command inputs. CommandTag therefore needed to wrap a command. Also, perhaps, /execute COMMANDTAG as an option.