Skip to content

ScriptCache tag #3

@mcmonkey4eva

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions