Vixio Help

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Apr 9, 2017
28
1
0
35
Skript Version:2.2
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?
 
Status
Not open for further replies.