Quantcast WoWInterface - View Single Post - Please Help Button for /command`s
View Single Post
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, 18 views)
  Reply With Quote