Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-08-11, 05:39 AM   #1
Lanodar
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 6
Respond to Chat commands

Hey

I'm writing an Addon to organize Baradin Hold Classruns.

Players have to send !class role per whisper and will be invited if their slot is available.

If someone writes !druid tank , !druid healer or !druid DPS, they'll receive a whisper and will be invited.

But if someone writes !DRUID TANK or !warlock healer. nothing will happen because those commands aren't defined.

How can i realize that if someone posts !warlock healer, there will be an answer like "Undefined command. DPS Classes just need to post ther Class (!warlock,!rogue,!mage)"

Or if Someone posts "!DROOD HEALER! "Undefined command, please use !druid healer" in lower case letters)
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Respond to Chat commands


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off