Update 'post.sk'

main
Anorak_1 2022-09-11 19:07:59 +00:00
parent 6779b1c302
commit 9603c37efd
1 changed files with 2 additions and 1 deletions

View File

@ -6,9 +6,10 @@ command /send_console:
send "<url:https://paste.anorak01.top>Console Link" to player send "<url:https://paste.anorak01.top>Console Link" to player
set {_resp} to the body of last response set {_resp} to the body of last response
set {_sections::*} to {_resp} split at ":" 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 {_this::*} to {_sections::2} split at ""
loop {_this::*}: loop {_this::*}:
if loop-value is '"' or "}": if loop-value is "}":
replace loop-value with "" in {_sections::2} replace loop-value with "" in {_sections::2}
add loop-value to {_key} add loop-value to {_key}
send {_key} to player send {_key} to player