12.12.2013, 22:58
Alright thanks Y_Less.
Another noob question:
How can I, with zcmd, make a command with string options like with /command [options], where "options" is a string that the player puts in. I tried something stupid like if(option == "lol") but obviously something like that would only work for integers (numbers). Is there any good way to do it with zcmd? Just a simple example would do the trick of teaching me how to do it! :P
If you don't understand what I'm trying to do, imagine this then: I am doing an /info command. And if you type in "/info mysql" it will show one SendClientMessage. If you type in "/info y_ini", it will show another informational SendClientMessage. That is basically what I'm trying to learn here. :P
Another noob question:
How can I, with zcmd, make a command with string options like with /command [options], where "options" is a string that the player puts in. I tried something stupid like if(option == "lol") but obviously something like that would only work for integers (numbers). Is there any good way to do it with zcmd? Just a simple example would do the trick of teaching me how to do it! :P
If you don't understand what I'm trying to do, imagine this then: I am doing an /info command. And if you type in "/info mysql" it will show one SendClientMessage. If you type in "/info y_ini", it will show another informational SendClientMessage. That is basically what I'm trying to learn here. :P