Hello,
I'm trying to make a simple addon for WoW, but I'm a bit stuck at the moment. I will keep it simple
I have a dropdown menu with the following options:
Option 1
Option 2
Option 3
Below that is a button: Send to Chat.
If Option 1 is selected, option 1 has to be sent to the chat box. I know the command for that. But how can I get the selected option usable for further using?
I tried the getglobal command, but that is not working:
Code:
chattext = getglobal("RaidHelperForm".."ComboBox1".."Label");
SendChatMessage("..."..chattext.."...", "SAY", this.language);
Can anyone help me with this?
Thank you,
Glenn