83y Posted December 1, 2020 Share Posted December 1, 2020 (edited) I spent quite a bit of time on this if you can't understand skript all you need to know is the commands /reload and /restart options: prefix: &a&l------------&r &a&lCOMMANDS &a&l------------ listcolour: &a function reload(p: player): loop {list::*}: make {_p} execute "%{list::%loop-value%}%" command /restart: trigger: make console execute command "save-all" wait 1 second make console execute command "stop" command /reload [<string>] [<string>]: trigger: if arg-1 is not set: if {list::*} is not set: send "&cThere is are no commands! add commands with /reload [add/remove] [command (without the /)]" stop else: reload(player) else: if arg-1 is not "add" or "remove" or "list": send "&c/reload [add/remove/list] [command]" else: if arg-1 is "list": if {list::*} is not set: send "&cThere are no commands! add commands with /reload [add/remove] [command (without the /)]" stop else: send "{@prefix}" loop {list::*}: send "{@listcolour}%{list::*}%" send "{@prefix}" stop if arg-2 is set: if arg-1 is "add": add arg-2 to {list::*} send "&aYou successfully added &a%arg-2% &ato the reload" if arg-1 is "remove": set {_arg2} to arg-2 if {list::*} contains "%{_arg2}%": remove arg-2 from {list::*} send "&aYou successfully removed &a%arg-2% &afrom the reload" else: send "&cThis command is not in the list. use /reload list to see the list of commands" else: send "&c/reload [add/remove] [command]" Edited December 13, 2020 by 83y Fixed bug. Youtube: https://www.youtube.com/c/83y123 Discord: 83y#2552 IGN: 83y If your seeing this I am currently banned from Posting, the Discord and GitHub I have helped out countless player's and been re-payed with multiple bans. staff are attention seeking and biased, i'd just leave for your sake. your just wasting your time. Link to comment Share on other sites More sharing options...
UntitledGoose Posted December 7, 2020 Share Posted December 7, 2020 how does this reload ? If your list has "a" and "b", the user will execute "a and b" twice 1 VIP since January 7th, 2020 Support since September 19th, 2020 Helper since November 3rd, 2020 Moderator since March 8th, 2021 Link to comment Share on other sites More sharing options...
Fusezion Posted December 7, 2020 Share Posted December 7, 2020 (edited) why don't we just use the expressions "scripts" and create a gui with all the skripts like that it's simple easy and doesn't require to much work not trying to come off rude or anything it just seems sort of useless Edited December 7, 2020 by Mesyl2 explination I'm a guy yes but I am also human just like any female so why do you believe it's so wrong to cry too? Link to comment Share on other sites More sharing options...
notminehut Posted December 8, 2020 Share Posted December 8, 2020 This is just terrible... Founder - Minehut.xyz The leading Minehut support website. We aim to provide top quality tutorials, provide answers to top questions, and help in any way we can. Our site is community driven, and we will continue to make it better and better. Support | 28/08/20 -13/09/20 Senior Support | 13/09/20 - 19/10/20 Link to comment Share on other sites More sharing options...
83y Posted December 8, 2020 Author Share Posted December 8, 2020 Say if you were to edit multiple files in multiple plugins and rather than reloading all of them single handily you can reload all the configs you want with just one command. Its useful because it saves time Youtube: https://www.youtube.com/c/83y123 Discord: 83y#2552 IGN: 83y If your seeing this I am currently banned from Posting, the Discord and GitHub I have helped out countless player's and been re-payed with multiple bans. staff are attention seeking and biased, i'd just leave for your sake. your just wasting your time. Link to comment Share on other sites More sharing options...
83y Posted December 8, 2020 Author Share Posted December 8, 2020 1 hour ago, Minehut said: This is just terrible... how so? Youtube: https://www.youtube.com/c/83y123 Discord: 83y#2552 IGN: 83y If your seeing this I am currently banned from Posting, the Discord and GitHub I have helped out countless player's and been re-payed with multiple bans. staff are attention seeking and biased, i'd just leave for your sake. your just wasting your time. Link to comment Share on other sites More sharing options...
hangtight Posted December 8, 2020 Share Posted December 8, 2020 function reload(p: player): loop {list::*}: make {_p} execute "%{list::*}%" you don't need to loop for this.. and if you do, "make x execute command "%loop-value%" Link to comment Share on other sites More sharing options...
83y Posted December 9, 2020 Author Share Posted December 9, 2020 On 12/8/2020 at 7:06 PM, hangtight said: function reload(p: player): loop {list::*}: make {_p} execute "%{list::*}%" you don't need to loop for this.. and if you do, "make x execute command "%loop-value%" Oh, I see, my bad I think I would need to replace "%{list::*}%" with "%{list::%loop-number%}%" ? Youtube: https://www.youtube.com/c/83y123 Discord: 83y#2552 IGN: 83y If your seeing this I am currently banned from Posting, the Discord and GitHub I have helped out countless player's and been re-payed with multiple bans. staff are attention seeking and biased, i'd just leave for your sake. your just wasting your time. Link to comment Share on other sites More sharing options...
hangtight Posted December 9, 2020 Share Posted December 9, 2020 2 hours ago, 83y said: Oh, I see, my bad I think I would need to replace "%{list::*}%" with "%{list::%loop-number%}%" ? "%loop-value%" Link to comment Share on other sites More sharing options...
83y Posted December 11, 2020 Author Share Posted December 11, 2020 Ah, yes that's it @hangtightwas kinda in a hurry there and didn't make sure it was correct. 1 Youtube: https://www.youtube.com/c/83y123 Discord: 83y#2552 IGN: 83y If your seeing this I am currently banned from Posting, the Discord and GitHub I have helped out countless player's and been re-payed with multiple bans. staff are attention seeking and biased, i'd just leave for your sake. your just wasting your time. 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