Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScriptCache tag #3

Open
mcmonkey4eva opened this issue Oct 27, 2015 · 0 comments
Open

ScriptCache tag #3

mcmonkey4eva opened this issue Oct 27, 2015 · 0 comments

Comments

@mcmonkey4eva
Copy link
Member

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.

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

No branches or pull requests

1 participant