diff --git a/public/script.js b/public/script.js index 62dd825ad..cf35cb74f 100644 --- a/public/script.js +++ b/public/script.js @@ -8647,7 +8647,7 @@ jQuery(async function () { Example:
/impersonate What is the meaning of life?
+ /impersonate What is the meaning of life?
/instruct creative
+ /instruct creative
/bg beach.jpg
+ /bg beach.jpg
/sendas name="Chloe" Hello, guys!
+ /sendas name="Chloe" Hello, guys!
will send "Hello, guys!" from "Chloe".
/sys The sun sets in the west.
+ /sys The sun sets in the west.
/sys compact=true A brief note.
+ /sys compact=true A brief note.
/comment This is a comment
+ /comment This is a comment
/comment compact=true This is a compact comment
+ /comment compact=true This is a compact comment
/continue
+ /continue
Continues the chat with no additional prompt.
/continue Let's explore this further...
+ /continue Let's explore this further...
Continues the chat with the provided prompt.
/delname John
+ /delname John
/send Hello there!
+ /send Hello there!
/send compact=true Hi
+ /send compact=true Hi
/memberadd John Doe
+ /memberadd John Doe
/memberremove 2
- /memberremove John Doe
+ /memberremove 2
+ /memberremove John Doe
/peek 5
+ /peek 5
Shows the character card for the 5th message.
/peek 2-5
+ /peek 2-5
Shows the character cards for messages 2 through 5.
/delswipe
+ /delswipe
Deletes the current swipe.
/delswipe 2
+ /delswipe 2
Deletes the second swipe from the last chat message.
/echo title="My Message" severity=info This is an info message
+ /echo title="My Message" severity=info This is an info message
/genraw instruct=off Why is the sky blue?
+ Use instruct=off to skip instruct formatting, e.g. /genraw instruct=off Why is the sky blue?
/genraw stop=["\\n"] Say hi
+ Use stop=... with a JSON-serialized array to add one-time custom stop strings, e.g. /genraw stop=["\\n"] Say hi
/fuzzy list=["a","b","c"] threshold=0.4 abc
+ /fuzzy list=["a","b","c"] threshold=0.4 abc
/pass Hello world
/pass Hello world
/delay 1000
+ /delay 1000
/messages 10
+ /messages 10
Returns the 10th message.
/messages names=on 5-10
+ /messages names=on 5-10
Returns messages 5 through 10 with author names.
/setinput Hello world
+ /setinput Hello world
/popup large=on wide=on okButton="Submit" Enter some text:
+ /popup large=on wide=on okButton="Submit" Enter some text:
/buttons labels=["Yes","No"] Do you want to continue?
+ /buttons labels=["Yes","No"] Do you want to continue?
/trimtokens limit=5 direction=start This is a long sentence with many words
+ /trimtokens limit=5 direction=start This is a long sentence with many words
/trimstart This is a sentence. And here is another sentence.
+ /trimstart This is a sentence. And here is another sentence.
/setvar key=color green
+ /setvar key=color green
/getvar height
+ /getvar height
/getvar index=3 costumes
+ /getvar index=3 costumes
/addvar key=score 10
+ /addvar key=score 10
/setglobalvar key=color green
+ /setglobalvar key=color green
/getglobalvar height
+ /getglobalvar height
/getglobalvar index=3 costumes
+ /getglobalvar index=3 costumes
/addglobalvar key=score 10
+ /addglobalvar key=score 10
/incvar score
+ /incvar score
/decvar score
+ /decvar score
/incglobalvar score
+ /incglobalvar score
/decglobalvar score
+ /decglobalvar score
/if left=score right=10 rule=gte "/speak You win"
+ /if left=score right=10 rule=gte "/speak You win"
triggers a /speak command if the value of "score" is greater or equals 10.
/setvar key=i 0 | /while left=i right=10 rule=let "/addvar key=i 1"
+ /setvar key=i 0 | /while left=i right=10 rule=let "/addvar key=i 1"
adds 1 to the value of "i" until it reaches 10.
/setvar key=i 1 | /times 5 "/addvar key=i 1"
+ /setvar key=i 1 | /times 5 "/addvar key=i 1"
adds 1 to the value of "i" 5 times.
/times 4 "/echo {{timesIndex}}"
+ /times 4 "/echo {{timesIndex}}"
echos the numbers 0 through 4. {{timesIndex}}
is replaced with the iteration number (zero-based).
/flushvar score
+ /flushvar score
/flushglobalvar score
+ /flushglobalvar score
Deletes the global variable score
.
/add 10 i 30 j
+ /add 10 i 30 j
/mul 10 i 30 j
+ /mul 10 i 30 j
/max 10 i 30 j
+ /max 10 i 30 j
/min 10 i 30 j
+ /min 10 i 30 j
/sub i 5
+ /sub i 5
/div 10 i
+ /div 10 i
/mod i 2
+ /mod i 2
/pow i 2
+ /pow i 2
/sin i
+ /sin i
/cos i
+ /cos i
/log i
+ /log i
/abs i
+ /abs i
/sqrt i
+ /sqrt i
/round i
+ /round i
/len i
+ /len i
/rand
+ /rand
Returns a random number between 0 and 1.
/rand 10
+ /rand 10
Returns a random number between 0 and 10.
/rand from=5 to=10
+ /rand from=5 to=10
Returns a random number between 5 and 10.
/let x foo | /var x foo bar | /var x | /echo
+ /let x foo | /var x foo bar | /var x | /echo
/let x foo bar | /echo {{var::x}}
+ /let x foo bar | /echo {{var::x}}
/let y
+ /let y