Tockra Posted July 12, 2010 Share Posted July 12, 2010 Hello Guys, how can i create a command, which is evers triggered, when its written, egal if it is big written or small or else... example: /test /TEST /teSt .. They should all be usable, but i want not add lots of Command Handlers with all Variants... Link to comment
50p Posted July 12, 2010 Share Posted July 12, 2010 If you look at the wiki https://wiki.multitheftauto.com/wiki/AddCommandHandler You will notice that addCommandHandler has optional parameters.. Check out the last one which is caseSensitive. If you disable it, you will be able to use 1 command with different variations (/tEsT will work the same as /TEST, etc.). Link to comment
Tockra Posted July 12, 2010 Author Share Posted July 12, 2010 Oh sry, that im so annoying. I skimmed the wiki of curse but i dont found this parameter ^^ Sry... And thank you. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now