Skript_flags/post.sk

10 lines
486 B
Plaintext
Raw Normal View History

2022-09-11 18:24:15 +00:00
command /send_console:
trigger:
2022-09-11 18:40:44 +00:00
#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"
2022-09-11 18:26:16 +00:00
wait 2 seconds
2022-09-11 18:40:44 +00:00
send "https://paste.anorak01.top" to player
2022-09-11 18:42:27 +00:00
set {_resp} to the body of last response
2022-09-11 18:48:20 +00:00
set {_sections::*} to {_resp} split at ":"
2022-09-11 18:47:28 +00:00
send {_sections::*} to player
2022-09-11 18:42:27 +00:00
#send the body of last response to player