Make player auto-type in chat

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

Status
Not open for further replies.

ItsMCB

Member
May 20, 2018
46
1
8
www.vexel.media
Skript Version (do not put latest): Skript 2.2-dev34
Skript Author: Me
Minecraft Version: 1.12.2
I have been searching for ways to make players auto type a command but have found no luck and I'm wondering if its possible.

Ex. There is a paper in a chest GUI thats called Msg. When a player clicks it, it auto fills in their chat bar /msg, allowing that player to fill in the rest of the information (playername, message).

Thanks for your help :emoji_grinning:

Troubleshooting:

Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? None since I don't know where to start.
 
I think you could use Json.sk
[doublepost=1526920223,1526920128][/doublepost]
code_language.skript:
json("%player%", "Some &7colored &ftest.||sgt:/msg")
 
Status
Not open for further replies.