Update 'post.sk'

main
Anorak_1 2022-09-11 19:11:11 +00:00
parent 2e183ed304
commit c48c45434b
1 changed files with 3 additions and 2 deletions

View File

@ -8,11 +8,12 @@ command /send_console:
set {_sections::*} to {_resp} split at ":"
set {_sections::2} to subtext of {_sections::2} from characters {1} to (length of {_sections::2})
set {_this::*} to {_sections::2} split at ""
set {key} to ""
loop {_this::*}:
if loop-value isn't "}":
#replace loop-value with "" in {_sections::2}
set {_key} to "%{_key}%loop-value"
set {key} to "%{key}%loop-value"
#add loop-value to {_key}
send {_key} to player
send {key} to player
send {_sections::2} to player
#send the body of last response to player