diff --git a/public/scripts/templates/macros.html b/public/scripts/templates/macros.html index dd163197f..9cdd811c8 100644 --- a/public/scripts/templates/macros.html +++ b/public/scripts/templates/macros.html @@ -5,6 +5,7 @@ System-wide Replacement Macros:
  • {{input}} - the user input
  • {{time}} - the current time
  • {{date}} - the current date
  • +
  • {{bias "text here"}} - sets a behavioral bias for the AI until the next user input. Quotes around the text are important.
  • {{idle_duration}} - the time since the last user message was sent
  • {{random:(args)}} - returns a random item from the list. (ex: {{random:1,2,3,4}} will return 1 of the 4 numbers at random. Works with text lists too.
  • {{roll:(formula)}} - rolls a dice. (ex: {{roll:1d6}} will roll a 6-sided dice and return a number between 1 and 6)