| Blockland Files > Add-Ons |
| admincheck command |
| << < (2/6) > >> |
| halcynthis:
Im going to try to improve it. though i did just start scripting today |
| halcynthis:
If you have a suggestion tell me and ill figure out how to do it |
| Tom:
It would be a good idea to get in the habit of indenting. When/if you get to the point were you have long scripts, it will help you alot. --- Code: ---function ServerCmdadmincheck(%client,%z) { if(%client.issuperadmin || %client.isadmin) { messageclient(%client,"","you are a admin"); }else{ messageclient(%client,"","Sorry, you are not an admin."); } } --- End code --- |
| MackTheHunter:
It should go in Modification Discussion, then. |
| General Nick:
Protip: If it's really useless, don't post it as a finished mod and instead post it in Modification Discussion. |
| Navigation |
| Message Index |
| Next page |
| Previous page |