lotrointerface.com
Search Downloads

LoTROInterface SVN SortPack

[/] [trunk/] [JackdawPlugins/] [SortPack/] [Slash.lua] - Rev 138

Go to most recent revision | Compare with Previous | Blame | View Log

--Slash commands

SortCommand = Turbine.ShellCommand()
function SortCommand:Execute(command, i)
        import "JackdawPlugins.SortPack.Sort"
        Turbine.Shell.WriteLine("<rgb=#888888>Starting sort")
        Sort()
end
Turbine.Shell.AddCommand('Sort', SortCommand)

OptionCommand = Turbine.ShellCommand()
function OptionCommand:Execute(command, i)
        import"JackdawPlugins.SortPack.ListOption"
        ShowListOption()
end
Turbine.Shell.AddCommand('SortOption', OptionCommand)

CatCommand = Turbine.ShellCommand()
function CatCommand:Execute(command, i)
        import  "JackdawPlugins.SortPack.CustomOption"
        ShowCustomOption()
end
Turbine.Shell.AddCommand('SortCat', CatCommand)

--[[ Button is now integral to the operation of the plugin - can't hide it anymore. Don't want it? Don't load it.
HideCommand = Turbine.ShellCommand()
function HideCommand:Execute(command, i)
        SortButtonData.Hide=not(SortButtonData.Hide)
        SortButton.Window:SetVisible(not(SortButtonData.Hide))
end
Turbine.Shell.AddCommand('SortHide', HideCommand)]]

DebugCommand = Turbine.ShellCommand()
function DebugCommand:Execute(command, i)
        import"JackdawPlugins.SortPack.Debug"
        Debug()
end
Turbine.Shell.AddCommand('SortDebug', DebugCommand)

OpenBagCommand = Turbine.ShellCommand()
function OpenBagCommand:Execute(command, i)
        import "JackdawPlugins.SortPack.bag"
        openbag()
end
Turbine.Shell.AddCommand('openbag', OpenBagCommand)
ShowCounterCommand = Turbine.ShellCommand()
function ShowCounterCommand:Execute(command, i)
        if Counter~=nil then
                if Counter.Show then 
                        Count:SetVisible(false) 
                        Counter.Show=false 
                        else 
                        if Count~=nil then
                                Count:SetVisible(true)
                        end
                        Counter.Show=true 
                end 
        end
        import "JackdawPlugins.SortPack.Counter"
end
Turbine.Shell.AddCommand('SortCounter', ShowCounterCommand)

Go to most recent revision | Compare with Previous | Blame


All times are GMT -5. The time now is 06:06 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui