WHAT THE forget. Tell me REASONS for the following:
- Why do you have completely random identation on the function registration?
- Why are you checking for if the name 'admin' is not true?
- Why are you checking for if the name 'ifsuperadmin' is true?
- Why do you have a return; at the end of a function anyway?
- Why do you have a ; at the end of the function name registration?
function serverCmdNuke(%cl) {
if(%cl.isSuperAdmin)
echo(%cl.player);
}
or what. that doesn't even make sense.
Bro chill.
1. I don't know my bad I must have clicked the tab key.
2. I wanted to make it admin only...
3. I wanted to make it super-admin only.
4. If they aren't any of those, the function returns.
5. I forgot that you don't need one. It's not like I spent time on this it's just an example... Next time I write a little example script I'll be sure to make it more Bauklotz friendly.
Thanks for your help by that way.