vip2kea Posted June 22, 2019 Share Posted June 22, 2019 Ok, so I made a shop command because players don't like to have items in their inventory, so I made this skript: command /shop: trigger: execute console command "/menu open @p MShop" But when I test it, it doesn't work, so I tired: command /shop: trigger: execute console command "/menu open %player% MShop" But even that doesn't work. When a player types this command, its supposed to open the Menu MShop {CreateYourOwnMenus plugin}. but its not. Can someone help please? vip2kea Playing Minehut since January 8th, 2018 Became a Pro on February 20th, 3029 Owner of SurvioPC Owner of ArenaGames Link to comment Share on other sites More sharing options...
Toro Posted June 22, 2019 Share Posted June 22, 2019 You are executing that as console, not as the player. Do this instead: execute player command "/menu open %player% MShop" 1 Link to comment Share on other sites More sharing options...
vip2kea Posted June 22, 2019 Author Share Posted June 22, 2019 Ok I did what you said but the command still doesn't work. I am useing CreateYourOwnMenus, does it not work with Skript??? vip2kea Playing Minehut since January 8th, 2018 Became a Pro on February 20th, 3029 Owner of SurvioPC Owner of ArenaGames Link to comment Share on other sites More sharing options...
Pexien Posted June 23, 2019 Share Posted June 23, 2019 execute console command "/menu open %player% MShop" Link to comment Share on other sites More sharing options...
ANormalTopaz Posted June 23, 2019 Share Posted June 23, 2019 Just a recommendation, don't use CYOM. I don't know if this is fixed or now, but cyom has a bug where anyone can give themselves op. Even if it is patched, cyom has a lot of bugs Owner of Blixate Networks Manger of: BluRP, Site23, and TheStreets Link to comment Share on other sites More sharing options...
DoomMode Posted June 24, 2019 Share Posted June 24, 2019 How do I add commands to items Link to comment Share on other sites More sharing options...
Rqdioqctive Posted June 24, 2019 Share Posted June 24, 2019 On 6/22/2019 at 1:03 AM, vip2kea said: Ok, so I made a shop command because players don't like to have items in their inventory, so I made this skript: command /shop: trigger: execute console command "/menu open @p MShop" But when I test it, it doesn't work, so I tired: command /shop: trigger: execute console command "/menu open %player% MShop" But even that doesn't work. When a player types this command, its supposed to open the Menu MShop {CreateYourOwnMenus plugin}. but its not. Can someone help please? Here we go: CYOM can be force opped so I recommend you don't use it, however as an alternative I recommend TuSKe GUIs which require a plugin called TuSKe on your server which can't be force opped unless you make it to be: here is a link to a guide on how to make a TuSKe GUI using Skript and TuSKe. Also, please use TABs instead of spaces as they make your code easier to read and understand. 16 hours ago, DoomMode said: How do I add commands to items If you're using TuSKe GUIs, again, use this link to get a wiki or use this: format gui slot <integer> with <item> named "<string>" with lore "<string>" to close: #this will run the commands but make your menu close #stuff you wanna do #or: format gui slot <integer> with <item> named "<string>" with lore "<string>" to run: #this will run the commands but make your menu stay open #stuff you wanna do Always happy to help! A person. Link to comment Share on other sites More sharing options...
SoloStrafe Posted June 29, 2019 Share Posted June 29, 2019 the problem with your code is that it has no player to go to. When your executing with console. There's no player. I suggest making a player argument to make it easier. If this doesn't work, I don't know then: command /shop <player>: trigger: make console execute command "/menu open %arg-1% MShop" Hello! I'm SoloStrafe! Skills: Skript (4+ years experience) Most of the plugins on MH Servers: - Westmine (Developer) - Mineport (Admin) Minehut: I got VIP rank on 8/1/2019 -> Current Link to comment Share on other sites More sharing options...
iAmAdRevenue Posted October 23, 2019 Share Posted October 23, 2019 this doesnt work can u help this is what i have command /games: trigger: make console execute command "/warp" i use ONLY skript and when i do this it says 1 error Link to comment Share on other sites More sharing options...
Nd_ Posted October 23, 2019 Share Posted October 23, 2019 3 hours ago, iAmAdRevenue said: this doesnt work can u help this is what i have command /games: trigger: make console execute command "/warp" i use ONLY skript and when i do this it says 1 error First of all, don't necropost Second, make a new topic Third, what is the error? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now