0
@@ -10,18 +10,23 @@ SLASH_CARBON1 = "/carbon"
0
SlashCmdList.CARBON = function(input)
0
local cmd, rest = string.match(input, "^%s*(%S+)%s*(.*)$")
0
- local handler = cmd and StealYourCarbon["CMD_"..cmd:upper()]
0
- if handler then handler(StealYourCarbon, rest)
0
+ InterfaceOptionsFrame_OpenToFrame(StealYourCarbon.configframe)
0
- StealYourCarbon:Print("Automatically restock items from vendors and your bank")
0
- ChatFrame1:AddMessage(" /carbon /syc")
0
- ChatFrame1:AddMessage(" |cffff9933add|r: Add an item to be restocked")
0
- ChatFrame1:AddMessage(" |cffff9933del|r: Remove an item from the restock list")
0
- ChatFrame1:AddMessage(" |cffff9933list|r: List current restock items")
0
- ChatFrame1:AddMessage(" |cffff9933overstock|r: Ensure that the quantity specified is always purchased for items offered in stacks from vendor")
0
- ChatFrame1:AddMessage(" |cffff9933upgradewater|r: Automatically upgrade to better water as player levels")
0
- ChatFrame1:AddMessage(" |cffff9933chatter|r: Give chat feedback when purchasing items")
0
+ local handler = StealYourCarbon["CMD_"..cmd:upper()]
0
+ if handler then handler(StealYourCarbon, rest)
0
+ StealYourCarbon:Print("Automatically restock items from vendors and your bank")
0
+ ChatFrame1:AddMessage(" /carbon /syc")
0
+ ChatFrame1:AddMessage(" |cffff9933(no command)|r: Open config panel")
0
+ ChatFrame1:AddMessage(" |cffff9933add|r: Add an item to be restocked")
0
+ ChatFrame1:AddMessage(" |cffff9933del|r: Remove an item from the restock list")
0
+ ChatFrame1:AddMessage(" |cffff9933list|r: List current restock items")
0
+ ChatFrame1:AddMessage(" |cffff9933overstock|r: Ensure that the quantity specified is always purchased for items offered in stacks from vendor")
0
+ ChatFrame1:AddMessage(" |cffff9933upgradewater|r: Automatically upgrade to better water as player levels")
0
+ ChatFrame1:AddMessage(" |cffff9933chatter|r: Give chat feedback when purchasing items")
Comments
No one has commented yet.