Skip to content

ScriptCache tag #3

Description

@mcmonkey4eva

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions