How to detect a string/text in a command?
#1

I'm trying to make a simple /engine command which works something like: /engine [on/off/hotwire]

However I haven't got a clue how I can detect if they've said "on", "off" or "hotwire".

How would I go about doing this?

Thanks
Reply


Messages In This Thread
How to detect a string/text in a command? - by DX7 - 28.05.2010, 15:14
Re: How to detect a string/text in a command? - by Jeffry - 28.05.2010, 15:16
Re: How to detect a string/text in a command? - by Sergei - 28.05.2010, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)