Go to most recent revision |
Compare with Previous |
Blame |
View Log
--Slash commands
SortCommand = Turbine.ShellCommand()
function SortCommand:Execute(command, i)
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)
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)
--[[
sorttoggleCommand = Turbine.ShellCommand()
function sorttoggleCommand:Execute(command, i)
if SortButtonData.LeftClick=="sort" then SortButtonData.LeftClick="bag" else SortButtonData.LeftClick="sort" end
end
Turbine.Shell.AddCommand('sorttoggle', sorttoggleCommand)
]]
OpenBagCommand = Turbine.ShellCommand()
function OpenBagCommand:Execute(command, i)
openbag()
end
Turbine.Shell.AddCommand('openbag', OpenBagCommand)
Go to most recent revision |
Compare with Previous |
Blame
All times are GMT -5. The time now is 06:43 PM.