Quantcast Please Help Button for /command`s - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-27-19, 09:24 AM   #1
BloodDragon
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 16
Please Help Button for /command`s

Hi,

i have a little Problem, i make a Button with a /command, like this

Lua Code:
  1. [b]QC.b=Add_Button(L["PullTimer"],"/pull 6",W,0,QC.F,{0.7,0.7,0.2,1});W=W+50;[/b]


In the game now i press the button PullTimer.
Now it is in chat /pull 6 and I would have to confirm with Enter. But I want if I click the button PullTimer the command /pull 6 is executed automatically.

Iam new on lua so i hope everyone can help me with it.
It would be very very friendly if someone could help me.

Sorry for my Bad English.
Attached Files
File Type: lua main.lua (4.4 KB, 17 views)
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Please Help Button for /command`s

Thread Tools
Display Modes

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