05.06.2018, 01:40
If anything does bug out, the best way to see if it actually works is to chuck it into a bare script, and see if you can get it going that way.
Then you're not dealing with variables and statements that will need checking.
You've got a lot of things in the command that aren't needed. Do as I do, and check the admin level then return the message, and DON'T put { }... There is no need to do so, and doing so, is just bad.
You can have single line if statements, especially when you are returning a message, or a return in the slightest.
You only use those braces when you are doing a structure, and with this, there is no reason to do a structure, as it's just one check, and if returned, it won't do the rest at all.
Then you're not dealing with variables and statements that will need checking.
You've got a lot of things in the command that aren't needed. Do as I do, and check the admin level then return the message, and DON'T put { }... There is no need to do so, and doing so, is just bad.
You can have single line if statements, especially when you are returning a message, or a return in the slightest.
You only use those braces when you are doing a structure, and with this, there is no reason to do a structure, as it's just one check, and if returned, it won't do the rest at all.