Update 'post.sk'
parent
213e478f25
commit
bc2f62d5ea
4
post.sk
4
post.sk
|
@ -1,9 +1,9 @@
|
||||||
command /send_console:
|
command /send_console:
|
||||||
trigger:
|
trigger:
|
||||||
#send content of file path "logs/latest.log" to player
|
#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
|
wait 2 seconds
|
||||||
send "https://paste.anorak01.top" to player
|
send "<link:https://paste.anorak01.top>" 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 ":"
|
||||||
send {_sections::*} to player
|
send {_sections::*} to player
|
||||||
|
|
Loading…
Reference in New Issue