Smokie 85 Posted August 11 Hey, i am trying to build a quester custom code to load settings while in quest state for people to be able to change them but i am having a hard time, i dont understand where i am doing wrong, any help would be deeply appreciated. Thanks. Lua.LuaDoString(string.Format(@" local X = CreateFrame('Button', 'MyButton', UIParent, 'UIPanelButtonTemplate') X: SetSize(80, 22)-- width, height X: SetText('Button!') X: SetPoint('CENTER') X: SetScript('OnClick', function() " + Settings.CurrentSetting.ToForm(); + "end")); Quote Share this post Link to post Share on other sites
Matenia 443 Posted August 11 Just... don't. It's anything but easy and you're in way over your head. Settings.CurrentSetting.ToForm() Doesn't even have a return type. It's a void type method that opens a WInForm menu in wRobot. I keep telling you, you need to learn the basic of programming and I've linked you courses. Until you actually understand what you're doing instead of just copypasting, you won't get anywhere 1 Stresse reacted to this Quote Share this post Link to post Share on other sites