From 8e5af8b9caafa12359a4cb5e06d419eebec1e0ae Mon Sep 17 00:00:00 2001 From: Anorak_1 Date: Sun, 11 Sep 2022 19:21:36 +0000 Subject: [PATCH] Update 'post.sk' --- post.sk | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/post.sk b/post.sk index 3f851ad..c48e3b1 100644 --- a/post.sk +++ b/post.sk @@ -1,17 +1,13 @@ command /send_console: trigger: - #send content of file path "logs/latest.log" to player - #send a "post" request to "https://paste.anorak01.top/documents" with the body content of file path "logs/latest.log" + send a "post" request to "https://paste.anorak01.top/documents" with the body content of file path "logs/latest.log" wait 2 seconds - send "Console Link" to player 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 {key} to "" set {_key} to last (length of {_sections::2} - 1) characters of {_sections::2} set {_key} to first (length of {_key} - 3) characters of {_key} + send "Console Link" to player + #loop {_this::*}: # send loop-value to player # if loop-value isn't "}":