⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 auccommand.lua

📁 时间太紧了
💻 LUA
📖 第 1 页 / 共 5 页
字号:
				dependencies={enabled={checked=true;}};				difficulty=2;			};			{				id="show-verbose";				type=K_TEXT;				text=function() 					return _AUCT('GuiVerbose')				end;				helptext=function() 					return _AUCT('HelpVerbose')				end;				callback=function(state)					Auctioneer.Command.GenVarSet("show-verbose", state.checked);				end;				feedback=function(state)					if (state.checked) then						return (string.format(_AUCT('FrmtActEnable'), _AUCT('ShowVerbose')));					else						return (string.format(_AUCT('FrmtActDisable'), _AUCT('ShowVerbose')));					end				end;				check=true;				default={checked=getKhaosDefault('show-verbose')};				disabled={checked=false};				dependencies={enabled={checked=true;}};				difficulty=1;			};			{				id="AuctioneerAuctionHouseHeader";				type=K_HEADER;				text=function() 					return _AUCT('GuiAuctionHouseHeader')				end;				helptext=function() 					return _AUCT('GuiAuctionHouseHeaderHelp')				end;				difficulty=1;			};			{				id="autofill";				type=K_TEXT;				text=function() 					return _AUCT('GuiAutofill')				end;				helptext=function() 					return _AUCT('HelpAutofill')				end;				callback=function(state)					Auctioneer.Command.GenVarSet("autofill", state.checked);				end;				feedback=function(state)					if (state.checked) then						return (string.format(_AUCT('FrmtActEnable'), _AUCT('CmdAutofill')));					else						return (string.format(_AUCT('FrmtActDisable'), _AUCT('CmdAutofill')));					end				end;				check=true;				default={checked=getKhaosDefault('autofill')};				disabled={checked=false};				dependencies={enabled={checked=true;}};				difficulty=1;			};			{				id="auction-duration";				type=K_PULLDOWN;				setup = {					options = getKhaosDurationsList;					multiSelect = false;				};				text=function() 					return _AUCT('GuiAuctionDuration')				end;				helptext=function() 					return _AUCT('HelpAuctionDuration')				end;				callback=function(state)					Auctioneer.Command.AuctionDuration(state.value);				end;				feedback=function(state)					return string.format(_AUCT('FrmtAuctionDuration'), _AUCT('CmdAuctionDuration'..Auctioneer.Command.GetFilterVal('auction-duration')));				end;				default = { value = _AUCT('CmdAuctionDuration'..Auctioneer.Core.Constants.FilterDefaults['auction-duration']) };				disabled = { value = _AUCT('CmdAuctionDuration'..Auctioneer.Core.Constants.FilterDefaults['auction-duration']) };				dependencies={enabled={checked=true;}};				difficulty=2;			};			{				id="protect-window";				type=K_PULLDOWN;				setup = {					options = getKhaosProtectionList;					multiSelect = false;				};				text=function() 					return _AUCT('GuiProtectWindow')				end;				helptext=function() 					return _AUCT('HelpProtectWindow')				end;				callback=function(state)					Auctioneer.Command.ProtectWindow(state.value);				end;				feedback=function(state)					return string.format(_AUCT('FrmtProtectWindow'), _AUCT('CmdProtectWindow'..Auctioneer.Command.GetFilterVal('protect-window')));				end;				default = { value = _AUCT('CmdProtectWindow'..Auctioneer.Core.Constants.FilterDefaults['protect-window']) };				disabled = { value = _AUCT('CmdProtectWindow'..Auctioneer.Core.Constants.FilterDefaults['protect-window']) };				dependencies={enabled={checked=true;}};				difficulty=3;			};			{				id="finish";				type=K_PULLDOWN;				setup = {					options = getKhaosFinishList;					multiSelect = false;				};				text=function() 					return _AUCT('GuiFinish')				end;				helptext=function() 					return _AUCT('HelpFinish')				end;				callback=function(state)					Auctioneer.Command.Finish(state.value);				end;				feedback=function(state)					return string.format(_AUCT('FrmtFinish'), _AUCT('CmdFinish'..Auctioneer.Command.GetFilterVal('finish')));				end;				default = { value = _AUCT('CmdFinish'..Auctioneer.Core.Constants.FilterDefaults['finish']) };				disabled = { value = _AUCT('CmdFinish'..Auctioneer.Core.Constants.FilterDefaults['finish']) };				dependencies={enabled={checked=true;}};				difficulty=3;			};			{				id="show-warning";				type=K_TEXT;				text=function() 					return _AUCT('GuiRedo')				end;				helptext=function() 					return _AUCT('HelpRedo')				end;				callback=function(state)					Auctioneer.Command.GenVarSet("show-warning", state.checked);				end;				feedback=function(state)					if (state.checked) then						return (string.format(_AUCT('FrmtActEnable'), _AUCT('ShowRedo')));					else						return (string.format(_AUCT('FrmtActDisable'), _AUCT('ShowRedo')));					end				end;				check=true;				default={checked=getKhaosDefault('show-warning')};				disabled={checked=false};				dependencies={enabled={checked=true;}};				difficulty=1;			};			{				id="warn-color";				type=K_TEXT;				text=function() 					return _AUCT('GuiWarnColor')				end;				helptext=function() 					return _AUCT('HelpWarnColor')				end;				callback=function(state)					Auctioneer.Command.GenVarSet("warn-color", state.checked);				end;				feedback=function(state)					if (state.checked) then						return (string.format(_AUCT('FrmtActEnable'), _AUCT('CmdWarnColor')));					else						return (string.format(_AUCT('FrmtActDisable'), _AUCT('CmdWarnColor')));					end				end;				check=true;				default={checked=getKhaosDefault('warn-color')};				disabled={checked=false};				dependencies={enabled={checked=true;}};				difficulty=1;			};			{				id="AuctioneerEmbedHeader";				type=K_HEADER;				text=function() 					return _AUCT('GuiEmbedHeader')				end;				helptext=function() 					return _AUCT('HelpEmbed')				end;				difficulty=1;			};			{				id="embed";				type=K_TEXT;				text=function() 					return _AUCT('GuiEmbed')				end;				helptext=function() 					return _AUCT('HelpEmbed')				end;				callback=function(state)					Auctioneer.Command.GenVarSet("embed", state.checked);				end;				feedback=function(state)					if (state.checked) then						return (string.format(_AUCT('FrmtActEnable'), _AUCT('CmdEmbed')));					else						return (string.format(_AUCT('FrmtActDisable'), _AUCT('CmdEmbed')));					end				end;				check=true;				default={checked=getKhaosDefault('embed')};				disabled={checked=false};				dependencies={enabled={checked=true;}};				difficulty=1;			};			{				id="show-embed-blankline";				type=K_TEXT;				text=function() 					return _AUCT('GuiEmbedBlankline')				end;				helptext=function() 					return _AUCT('HelpEmbedBlank')				end;				callback=function(state)					Auctioneer.Command.GenVarSet("show-embed-blankline", state.checked);				end;				feedback=function(state)					if (state.checked) then						return (string.format(_AUCT('FrmtActEnable'), _AUCT('ShowEmbedBlank')));					else						return (string.format(_AUCT('FrmtActDisable'), _AUCT('ShowEmbedBlank')));					end				end;				check=true;				default={checked=getKhaosDefault('show-embed-blankline')};				disabled={checked=false};				dependencies={embed={checked=true;}, enabled={checked=true;}};				difficulty=1;			};			{				id="AuctioneerClearHeader";				type=K_HEADER;				text=function() 					return _AUCT('GuiClearHeader')				end;				helptext=function() 					return _AUCT('GuiClearHelp')				end;				difficulty=3;			};			{				id="AuctioneerClearAll";				type=K_BUTTON;				setup={					buttonText=function() 						return _AUCT('GuiClearallButton')					end;				};				text=function() 					return _AUCT('GuiClearall')				end;				helptext=function() 					return _AUCT('GuiClearallHelp')				end;				callback=function()					Auctioneer.Command.Clear("all");				end;				feedback=function()					return string.format(_AUCT('FrmtActClearall'),  _AUCT('GuiClearallNote'));				end;				dependencies={enabled={checked=true;}};				difficulty=3;			};			{				id="AuctioneerClearSnapshot";				type=K_BUTTON;				setup={					buttonText=function() 						return _AUCT('GuiClearsnapButton')					end;				};				text=function() 					return _AUCT('GuiClearsnap')				end;				helptext=function() 					return _AUCT('GuiClearsnapHelp')				end;				callback=function()					Auctioneer.Command.Clear(_AUCT('CmdClearSnapshot'));				end;				feedback=function()					return _AUCT('FrmtActClearsnap');				end;				dependencies={enabled={checked=true;}};				difficulty=3;			};			{				id="AuctioneerPercentsHeader";				type=K_HEADER;				text=function() 					return _AUCT('GuiPercentsHeader')				end;				helptext=function() 					return _AUCT('GuiPercentsHelp')				end;				difficulty=4;			};			{				id="pct-bidmarkdown";				type=K_EDITBOX;				setup = {					callOn = {"tab", "escape", "enter"};				};				text=function() 					return _AUCT('GuiBidmarkdown')				end;				helptext=function() 					return _AUCT('HelpPctBidmarkdown')				end;				callback = function(state)					Auctioneer.Command.PercentVarSet("pct-bidmarkdown", state.value);				end;				feedback = function (state)					return string.format(_AUCT('FrmtActSet'), _AUCT('CmdPctBidmarkdown'), state.value.."%");				end;				default = {	value = getKhaosDefault('pct-bidmarkdown') };				disabled = { value = getKhaosDefault('pct-bidmarkdown') };				dependencies={enabled={checked=true;}};				difficulty=4;			};			{				id="pct-markup";				type=K_EDITBOX;				setup = {					callOn = {"tab", "escape", "enter"};				};				text=function() 					return _AUCT('GuiMarkup')				end;				helptext=function() 					return _AUCT('HelpPctMarkup')				end;				callback = function(state)					Auctioneer.Command.PercentVarSet("pct-markup", state.value);				end;				feedback = function (state)					return string.format(_AUCT('FrmtActSet'), _AUCT('CmdPctMarkup'), state.value.."%");				end;				default = {	value = getKhaosDefault('pct-markup') };				disabled = { value = getKhaosDefault('pct-markup') };				dependencies={enabled={checked=true;}};				difficulty=4;			};			{				id="pct-maxless";				type=K_EDITBOX;				setup = {					callOn = {"tab", "escape", "enter"};				};				text=function() 					return _AUCT('GuiMaxless')				end;				helptext=function() 					return _AUCT('HelpPctMaxless')				end;				callback = function(state)					Auctioneer.Command.PercentVarSet("pct-maxless", state.value);				end;				feedback = function (state)					return string.format(_AUCT('FrmtActSet'), _AUCT('CmdPctMaxless'), state.value.."%");				end;				default = {	value = getKhaosDefault('pct-maxless') };				disabled = { value = getKhaosDefault('pct-maxless') };				dependencies={enabled={checked=true;}};				difficulty=4;			};			{				id="pct-nocomp";				type=K_EDITBOX;				setup = {					callOn = {"tab", "escape", "enter"};				};				text=function() 					return _AUCT('GuiNocomp')				end;				helptext=function() 					return _AUCT('HelpPctNocomp')				end;				callback = function(state)					Auctioneer.Command.PercentVarSet("pct-nocomp", state.value);				end;				feedback = function (state)					return string.format(_AUCT('FrmtActSet'), _AUCT('CmdPctNocomp'), state.value.."%");				end;				default = {	value = getKhaosDefault('pct-nocomp') };				disabled = { value = getKhaosDefault('pct-nocomp') };				dependencies={enabled={checked=true;}};				difficulty=4;			};			{				id="pct-underlow";				type=K_EDITBOX;				setup = {

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -