Skript Version:2.2
Skript Author:
Minecraft Version:1.8.8
---
Full Code:
First, I am wanting to make it so that when a command is ran in-game it sends a message into a discord channel with the command and user so I know what user is running the command. Second, I want to be able to run $command or something in discord and have it run in-game.
Addons using (including versions):
ADDONS HERE
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it?
Skript Author:
Minecraft Version:1.8.8
---
Full Code:
code_language.skript:
on skript load:
login to user with token "" with name "Term"
on chat:
if message contains "/":
set {_p} to player
set {_arg1} to message
send message "{_p} has ran the command {_arg1}" to channel "" as "Term"
on guild message receive seen by "Term":
set {_args::*} to even-string split at " "
set {_command} to {_args::1}
remove {_args::1} from {_args::*}
if {_command} starts with "$command":
execute console command "/{_args::2}"
First, I am wanting to make it so that when a command is ran in-game it sends a message into a discord channel with the command and user so I know what user is running the command. Second, I want to be able to run $command or something in discord and have it run in-game.
Addons using (including versions):
ADDONS HERE
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it?