WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Bid/Retract Macro for Suicide kings loot system (https://www.wowinterface.com/forums/showthread.php?t=49172)

wildnature100 04-04-14 04:06 PM

Bid/Retract Macro for Suicide kings loot system
 
Hello Wow interface users.

I hope some macro expert can help me and my guild out :)

We have implemented suicide kings loot system.

In this we need to whisper our lootmaster with bid if we want an item and retract if we have made a bid but want to pass.

There we have been spending over a few hours trying to figure out how to create a macro where we can bid with a left click (send a whisper to our loot master saying bid and a right click will send a whisper to our loot master saying retract.

We have tryed varied /run commands, but had no succes.

we have also trying the
[button:1] /w loot master bid
[button:2] /w loot master retract

with no luck.

I hope someone can help us.

From wildnature100

Phanx 04-04-14 04:32 PM

Macro conditionals only work with macro commands. "/w" and "/run" aren't macro commands, so you can't use macro conditionals with them.

Code:

/run SendChatMessage(IsMouseButtonDown("RightButton") and "retract" or "bid", "WHISPER", nil, "Lootmaster")
This will probably also only work if you have actions trigger on mousedown instead of mouseup in your Interface Options, since otherwise the mouse button is no longer down when the command is executed. Using a modifier key (eg. Shift) would probably work better:

Code:

/run SendChatMessage(IsShiftKeyDown() and "retract" or "bid", "WHISPER", nil, "Lootmaster")

wildnature100 04-04-14 04:41 PM

Hello Again

Thanks for the fast reply.

However no success either one any of them :(

I changed Lootmaster to Milyaa (a friend of mine char's name)

Do anyone have an alternative?

Phanx 04-05-14 09:00 PM

1. Can you be more specific about "no success" means?

2. Do you have "Cast action keybinds on key down" checked under Interface Options > Action Bars?

wildnature100 04-06-14 02:03 AM

1. I mean none of the two macro's works, no chat messages was sent to the char name i entered instead of "lootmaster" example "Milyaa"

Code:

/run SendChatMessage("WHISPER", IsMouseButtonDown("RightButton") and "retract" or "bid", nil, "Milyaa")
And

Code:

/run SendChatMessage("WHISPER", IsShiftKeyDown() and "retract" or "bid", nil, "Milyaa")
Nothing happened when i clicked this new macro with those codes in them. and yes Milyaa was online. and right next to me when i tried.

2. Yes this function is marked.

Maybe i do something wrong that i do not notice :(

Phanx 04-06-14 03:56 AM

Oops, sorry, must have been late when I wrote those... swap the "WHISPER" to the second position, just before the nil. I updated the commands in my last post, too.

wildnature100 04-06-14 06:27 AM

Hello Phanx

They work now :) Thank you very much.


All times are GMT -6. The time now is 09:56 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI