/trunk
-- Register the BAG_UPDATE event. |
RanchFrame:RegisterEvent("BAG_UPDATE"); |
-- Initialise the slash command handler. |
SLASH_RANCH1 = "/ranch" |
SlashCmdList["RANCH"] = Ranch_Command; |
end |
function Ranch_Command(slashargs) |
else |
ranchtrack = restOfString |
end |
Ranch_BAG_UPDATE(nil) |
elseif firstWord == "temp" then |
ranch_temp[Ranch_ItemID(restOfString)] = true |
elseif firstWord == "add" then |
end |
end |
SLASH_RANCH1 = "/ranch" |
SlashCmdList["RANCH"] = Ranch_Command; |
function dataobj:OnTooltipShow() |
local i, j |
local ranch_items = {} |