HeavyGames Posted January 20, 2021 Share Posted January 20, 2021 (edited) command /broadcast [<text>]: aliases: bc trigger: if executor is not a player: set {_perm} to true else: if getHasPermission(player, "custom.command.broadcast") is true: set {_perm} to true if {_perm} is not set: message "&cYou do not have permission to use this command." else: if arg 1 is not set: message "&eUsage: &d/broadcast &a&l&oServer&c&l&oName&7&o>> <message>" else: broadcast colored arg 1 command /messagetome [<text>]: aliases: mtm, m2m trigger: if getHasPermission(player, "custom.command.messagetome") is false: message "&cYou do not have permission to use this command." else: if arg 1 is not set: message "&eUsage: &d/messagetome &f<message>" else: message colored arg 1 Edited January 20, 2021 by yofireblazeere 1 Default since 2019 Bought vip in 2021 Link to comment Share on other sites More sharing options...
Centrect Posted January 20, 2021 Share Posted January 20, 2021 Nice, but instead of using {_perm} you could simplify it to add a check at the beginning of the skriptcommand /broadcast [<text>]: aliases: bc permission: custom.command.broadcast permission message: &cYou do not have permission to use this command. trigger: if arg 1 is not set: message "&eUsage: &d/broadcast &a&l&oServer&c&l&oName&7&o>> <message>" else: broadcast colored arg 1 Twitch Affiliate, YouTuber and Minehut Content Creator (100,000+ Combined Views, 1,100+ Combined Followers & Subs, 20,000+ Combined Unique Players) IGN:[YOUTUBE] Centrect➤ Please don't DM me for support, go here or join Minehut's Discord if you need assistance. Link to comment Share on other sites More sharing options...
HeavyGames Posted January 20, 2021 Author Share Posted January 20, 2021 thanks Default since 2019 Bought vip in 2021 Link to comment Share on other sites More sharing options...
hangtight Posted January 20, 2021 Share Posted January 20, 2021 awfully looks like precedings skirpts.. wait what if it is.. give credits smh 1 Link to comment Share on other sites More sharing options...
HeavyGames Posted January 21, 2021 Author Share Posted January 21, 2021 Who is preceding? Default since 2019 Bought vip in 2021 Link to comment Share on other sites More sharing options...
HeavyGames Posted January 21, 2021 Author Share Posted January 21, 2021 Confused Default since 2019 Bought vip in 2021 Link to comment Share on other sites More sharing options...
CoolProgrammer Posted January 21, 2021 Share Posted January 21, 2021 Some improvements are possible but, who cares?! Good one! Love it 1 Hello there! If you're reading this, hope you're having a wonderful day! Feel free to contact me via Discord (CoolProgrammer#1920) for any help. My DMs are always open for help. You can also message via. forum messages for help. Also, don't hesitate to leave a like on my post if I helped you in any way. Link to comment Share on other sites More sharing options...
hangtight Posted January 24, 2021 Share Posted January 24, 2021 On 1/21/2021 at 12:32 AM, HeavyGames said: Who is preceding? hes a friend of mine, he released his skripts for one of his servers. this is HIS broadcast skript.. command /broadcast [<text>]: aliases: bc trigger: if executor is not a player: set {_perm} to true else: if getHasPermission(player, "hydrogen.command.broadcast") is true: set {_perm} to true if {_perm} is not set: message "&cYou do not have permission to use this command." else: if arg 1 is not set: message "&eUsage: &d/broadcast &f<message>" else: broadcast colored arg 1 command /messagetome [<text>]: aliases: mtm, m2m trigger: if getHasPermission(player, "hydrogen.command.messagetome") is false: message "&cYou do not have permission to use this command." else: if arg 1 is not set: message "&eUsage: &d/messagetome &f<message>" else: message colored arg 1 so give credit mayb? Link to comment Share on other sites More sharing options...
HeavyGames Posted January 25, 2021 Author Share Posted January 25, 2021 Sorry bro i dont know who's preceding,And i skripted this so ... Default since 2019 Bought vip in 2021 Link to comment Share on other sites More sharing options...
Centrect Posted January 25, 2021 Share Posted January 25, 2021 18 hours ago, hangtight said: hes a friend of mine, he released his skripts for one of his servers. this is HIS broadcast skript.. command /broadcast [<text>]: aliases: bc trigger: if executor is not a player: set {_perm} to true else: if getHasPermission(player, "hydrogen.command.broadcast") is true: set {_perm} to true if {_perm} is not set: message "&cYou do not have permission to use this command." else: if arg 1 is not set: message "&eUsage: &d/broadcast &f<message>" else: broadcast colored arg 1 command /messagetome [<text>]: aliases: mtm, m2m trigger: if getHasPermission(player, "hydrogen.command.messagetome") is false: message "&cYou do not have permission to use this command." else: if arg 1 is not set: message "&eUsage: &d/messagetome &f<message>" else: message colored arg 1 so give credit mayb? skripts are very hard to keep original, especially when its such a basic command. I dont see any need why they would need to give creds, also no offence to either side but its one of the most inefficient skripts ive ever seen so I wouldnt even use "proceedings"s skript. Twitch Affiliate, YouTuber and Minehut Content Creator (100,000+ Combined Views, 1,100+ Combined Followers & Subs, 20,000+ Combined Unique Players) IGN:[YOUTUBE] Centrect➤ Please don't DM me for support, go here or join Minehut's Discord if you need assistance. Link to comment Share on other sites More sharing options...
hangtight Posted January 25, 2021 Share Posted January 25, 2021 2 hours ago, Centrect said: skripts are very hard to keep original, especially when its such a basic command. I dont see any need why they would need to give creds, also no offence to either side but its one of the most inefficient skripts ive ever seen so I wouldnt even use "proceedings"s skript. he is using custom permissions.. but its one of his skripts from his skript folder that he released for his server. + it literally looks the same and he didn't even provide the function so it wouldn't even work. 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