| Blockland Forums > Modification Help |
| Invalid Script Extension Error |
| << < (2/4) > >> |
| Aide33:
--- Quote ---function test() { if(%client.isAmdin) { messageClient("You're an Admin"); } else(!%client.isAdmin) { messageClient("You're not an Admin"); } } --- End quote --- I was reading your explanations Iban and I wanted to try it out for myself and well it don't work. |
| Iban:
There is so much, so wrong about that script and it has nothing to do with the original question. |
| Aide33:
--- Quote from: Iban on March 09, 2011, 05:42:52 PM ---There is so much, so wrong about that script and it has nothing to do with the original question. --- End quote --- Eh? |
| Aide33:
My question is that why is it my scripts make that error pop up. I tried other scripts of mine and they worked for a short while then the error started poping up. EDIT: Oh and Iban while your here tell me whats wrong with my script it peeked my curiosity. |
| Pew44Six:
Well I fixed this for you.. Although it won't fix the extension error... --- Code: ---function servercmdtest(%client) { if(%client.isAdmin) { messageClient(%client,'', "You're an Admin"); } else if(!%client.isAdmin) { messageClient(%client,'', "You're not an Admin"); } } --- End code --- |
| Navigation |
| Message Index |
| Next page |
| Previous page |