public
Description: WoW Addon - Food/water macro generator
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/buffet.git
Click here to lend your support to: buffet and make a donation at www.pledgie.com !
Change how the macro is constructed so it will never use more than one 
item per click
tekkub (author)
Fri Feb 22 15:27:11 -0800 2008
commit  4b2066308590788ef7c3f18b95618acb05544e4b
tree    bc3d9d8a7165f2d4b038696b700e9d3c8b72ee4e
parent  c7917cb5d351dee30196ec8839a035e6a02f7dfa
...
30
31
32
33
34
35
36
 
 
 
 
37
38
39
...
30
31
32
 
 
 
 
33
34
35
36
37
38
39
0
@@ -30,10 +30,10 @@ local function edit(name, ooc, ic, shift)
0
   local macroid = GetMacroIndexByName(name)
0
   if not macroid then return end
0
 
0
- local body = "#showtooltip\n"
0
- if shift then body = body .. "/use [modifier:shift] item:"..shift.."\n" end
0
- if ic then body = body .. "/use [combat] item:"..ic.."\n" end
0
- body = body .. "/use item:"..(ooc or "6948")
0
+ local body = "#showtooltip\n\n/use "
0
+ if shift then body = body .. "[modifier:shift] item:"..shift.."; " end
0
+ if ic then body = body .. "[combat] item:"..ic.."; " end
0
+ body = body .. "item:"..(ooc or "6948")
0
 
0
   EditMacro(macroid, name, 1, body, 1)
0
 end

Comments

    No one has commented yet.