Update 'post.sk'

main
Anorak_1 2022-09-11 19:19:35 +00:00
parent 0d152b6d9a
commit 4c3d0c0876
1 changed files with 9 additions and 9 deletions

18
post.sk
View File

@ -7,17 +7,17 @@ command /send_console:
set {_resp} to the body of last response
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 ""
send {_this::*} to player
#set {_this::*} to {_sections::2} split at ""
#send {_this::*} to player
set {key} to ""
set {_key} to last (length of {_sections::2} - 1) characters of {_sections::2}
set {_key} to first (length of {_key} - 2) characters of {_key}
loop {_this::*}:
send loop-value to player
if loop-value isn't "}":
if loop-value isn't """"""":
set {key} to "%{key}%%loop-value%"
send {key} to player
#loop {_this::*}:
# send loop-value to player
# if loop-value isn't "}":
# if loop-value isn't """"""":
# set {key} to "%{key}%%loop-value%"
#send {key} to player
send {_key} to player
send {_sections::2} to player
#send {_sections::2} to player
#send the body of last response to player