issues
search
deepfates
/
fictionsuit
2
stars
3
forks
source link
Enhancing the FictionScript language
#27
Closed
JohnnyMalmberg
closed
1 year ago
JohnnyMalmberg
commented
1 year ago
Improve arg syntax
new command, cmd_args. usage: "args arg1, arg2, arg3"
new optional arguments with cmd_arg: "arg name of argument = default value
Improve docs of Scripting commands
Automatically load scripts from fic/ and .fic/ folders
/.fic/
is gitignored for local fictionscripting
new scripting commands:
cmd_outer: returns a var from the parent scope
cmd_str: "str {foo} = {bar baz}" as shorthand for "var {foo} = echo {bar baz}"
cmd_yell: replies to a message, even if it's not supposed to be able to reply because its response is being eaten by a var or script command
rename cmd_script to cmd_fic
/.fic/
is gitignored for local fictionscripting