Update 'post.sk'

main
Anorak_1 2022-09-11 19:37:51 +00:00
parent ececea3163
commit bd9a83ce37
1 changed files with 3 additions and 19 deletions

22
post.sk
View File

@ -6,22 +6,6 @@ command /send_console:
set {_sections::*} to {_resp} split at ":"
set {_key} to last (length of {_sections::2} - 1) characters of {_sections::2}
set {_key} to first (length of {_key} - 3) characters of {_key}
set {_key} to "<url:https://paste.anorak01.top/%{_key}%>Link"
send "<url:%{_key}%>Console Link" to player
send {_key}
send "<url:https://paste.anorak01.top/lol>lion" 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 {_sections::2}
#send {_key} to player
#send {_sections::2} to player
#send the body of last response to player
command /console:
trigger:
send last 5 lines of file path "logs/latest.log" to player
send "<url:https://paste.anorak01.top>Console Link" to player
send "To show console, add %{_key}% to the end of the link above" to player
#send "<url:https://paste.anorak01.top/lol>lion" to player