Dialog Reference
From Citizens Wiki
Events
Statements
- [] - required argument
- () - optional argument
- ... - repeated argument
- Arguments can be given without explicit keys, and will be parsed in order of required and then optional arguments.
Remember
remember [fact=value (10ns|ms|s|m|h|d (expiration time)) (-p (persistent)), fact2=value [...]];
Forget
forget [memory="factname"| ["factname1", "factname2"...]];
Say
say [message="message"] [target="p:playername"|"n:npcid"|"broadcast"|"log"|fact of type 'Player'];
Code
js|py|lua|rb|clj|scala [code="code"] Evaluates raw code based on input. Note: JS is built into Java, but all others require JVM implementations on the buildpath. Eg. rb requires installing JRuby, scala requires installing scala, etc.