gm6rh Posted July 7, 2022 Share Posted July 7, 2022 i am trying to make a skript where when you spawn, depending on what permission you have. on spawn: loop all players: loop-player has permission "prisoner": execute console command "/kit prisoner %player%" loop-player has permission "guard": execute console command "/kit guard %player%" i dont know why, but whenever i have either of those permissions, it doesnt even show up in console that it ran the kit command. can someone tell me how to fix it? Link to comment Share on other sites More sharing options...
SIG12 Posted July 10, 2022 Share Posted July 10, 2022 (edited) What do you mean by "on spawn", do you mean "on respawn"? Edited July 10, 2022 by SIG12 Link to comment Share on other sites More sharing options...
Relly Posted July 10, 2022 Share Posted July 10, 2022 26 minutes ago, SIG12 said: What do you mean by "on spawn", do you mean "on respawn"? I think they mean on join? Link to comment Share on other sites More sharing options...
SIG12 Posted July 10, 2022 Share Posted July 10, 2022 Just now, Relly said: I think they mean on join? Well, they said "on spawn" so I just thought of on respawn but yeah I think on join could be it Link to comment Share on other sites More sharing options...
SIG12 Posted July 10, 2022 Share Posted July 10, 2022 (edited) On 7/7/2022 at 1:27 PM, gm6rh said: i am trying to make a skript where when you spawn, depending on what permission you have. on spawn: loop all players: loop-player has permission "prisoner": execute console command "/kit prisoner %player%" loop-player has permission "guard": execute console command "/kit guard %player%" i dont know why, but whenever i have either of those permissions, it doesnt even show up in console that it ran the kit command. can someone tell me how to fix it? For the respawn part: on respawn: player has permission "prisoner": execute console command "/kit prisoner %player%" # You can also make this: make the player say "/kit prisoner" player has permission "guard": execute console command "/kit guard %player%" # You can also make this: make the player say "/kit guard" For the join part: (also if you don't need any of the events, tell me because I just guessed if you wanted join or respawn) on join: player has permission "prisoner": execute console command "/kit prisoner %player%" # You can also make this: make the player say "/kit prisoner" player has permission "guard": execute console command "/kit guard %player%" # You can also make this: make the player say "/kit guard Edited July 10, 2022 by SIG12 Link to comment Share on other sites More sharing options...
Relly Posted July 11, 2022 Share Posted July 11, 2022 On 7/10/2022 at 10:33 AM, SIG12 said: For the respawn part: on respawn: player has permission "prisoner": execute console command "/kit prisoner %player%" # You can also make this: make the player say "/kit prisoner" player has permission "guard": execute console command "/kit guard %player%" # You can also make this: make the player say "/kit guard" For the join part: (also if you don't need any of the events, tell me because I just guessed if you wanted join or respawn) on join: player has permission "prisoner": execute console command "/kit prisoner %player%" # You can also make this: make the player say "/kit prisoner" player has permission "guard": execute console command "/kit guard %player%" # You can also make this: make the player say "/kit guard Totally un-necessaray but how'd you make those code blocks also display in a Skript format? Link to comment Share on other sites More sharing options...
ES63 Posted July 11, 2022 Share Posted July 11, 2022 4 hours ago, Relly said: Totally un-necessaray but how'd you make those code blocks also display in a Skript format? They probably picked something that was similar to skript and used it Player Stats IGN - ES63 Rank - Pro ---------------------- Server Stats RascalPVP - Owner RandKits - Owner DoodySim - Owner ----------------------- do that ^^^^ i will heart back (i promise) Link to comment Share on other sites More sharing options...
SIG12 Posted July 12, 2022 Share Posted July 12, 2022 6 hours ago, Relly said: Totally un-necessaray but how'd you make those code blocks also display in a Skript format? I just use vs-code then when I copy paste the code it just does that 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