How to make the console an ingame command

  • 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 community!

    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!

Tbadger1288

Member
Aug 24, 2024
2
1
3
Hey so im trying to make a command (/console) that basiclly lets you access the console ingame, if that makes sense?, so basically im relativly new to skript but i know a bi tabout coding so it was fairly easy fro me to figure it out but i have had this problem for hours now but have not found any solution. the code right now is pretty simple but idkk what i can do to fix it to be honest:
Code:
command /console <string>:
    trigger:
        execute console command "<string>"
thats the code i have right now but i still need help if anyone can help me please do! (Please do not send me links to any documents i just want my code to be fixed pls!)
 
Hey, i believe you are trying to do this:
Code:
command /console <string>:
    trigger:
        execute console command "%arg-1%"