/gotols /gotosf /gotolv
#5

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.
Reply


Messages In This Thread
/gotols /gotosf /gotolv - by Jaua10 - 05.06.2018, 00:59
Re: /gotols /gotosf /gotolv - by mmostafa - 05.06.2018, 01:22
Re: /gotols /gotosf /gotolv - by Sew_Sumi - 05.06.2018, 01:29
Re: /gotols /gotosf /gotolv - by Jaua10 - 05.06.2018, 01:33
Re: /gotols /gotosf /gotolv - by Sew_Sumi - 05.06.2018, 01:40

Forum Jump:


Users browsing this thread: 2 Guest(s)