Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(58 Kb)
Download
Updated: 10-16-14 08:07 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Siege of Orgrimmar (5.4)
Escalation (5.3)
Updated:10-16-14 08:07 PM
Created:unknown
Downloads:135,954
Favorites:355
MD5:

Super Duper Macro  Popular! (More than 5000 hits)

Version: 2.6.1
by: hypehuman [More]


To view recent changes, click the "Change Log" tab at the top of this page.


Open the in-game interface by typing /sdm


This addon allows you to create macros beyond the 255-character limit, and even beyond the 1023-character macrotext limit. However, no individual line in a macro may be more than 1023 characters long (you will get a warning). The number of lines is unlimited. Super Duper Macro also allows you to share macros with your friends in-game.


This mod allows you to make two types of macros:

  • Button macros are just like regular macros, but they can be as long as you want. You cannot make an unlimited number of them; they share a limit with your regular macros (36 global and 18 character-specific for each character).
  • Floating macros do not have buttons, and are accessed by /click. You can make as many of these as you want.
  • You can also make lua scripts of unlimited length that you can call using "/sdm run <name>" or via sdm_RunScript("name")


Suggestions and bug reports are always welcome. You can post comments on the wowinterface.com page for this addon, or if you want to add something yourself, you can upload it in the "Optional Files" tab.


Alternately, create a pull request to my GitHub repo: https://github.com/hypehuman/super-duper-macro


Special thanks to:
  • SuperMacro, which inspired the idea for this addon.
  • All the regulars on the UI & Macro forums, who taught me how to program for WoW.


2.6.1 (10/16/14)
*Fixes "Different name on button" and "Expand/collapse all folders"

2.6 (10/16/14)
*Fixes character-specific macros, which broke when Warlords gave us more global macros.

2.4.6 (2/20/12)
*Fixed a bug where the interface sometimes inappropriately prevented you from making new macros

2.4.5 (1/17/12)
*Fixed a bug that caused the "Change Name/Icon" window to sometimes be unresponsive
*Now the "Change Name/Icon" always deselects the icon when it opens so that you don't accidentally change the icon of one of your macros

2.4.4 (12/17/11)
*Fixed a bug where the button on the macro frame that opens SDM would sometimes appear in the wrong place.

2.4.3 (11/30/11)
*Re-enabled the text that shows how many more button macros you can create

2.4.2 (11/30/11)
*Fixed a minor error that occurs when running SDM for the first time
*When attempting to pick up a macro during combat, you will get an error message created by SDM instead of Blizzard's "Interface action failed due to an addon".

2.4.1 (11/30/11)
*Updated for version 4.0 - you will lose any custom icons for your macros. Sorry!

2.4 (11/20/11)
*Fixed the Send/Receive feature; now you can share macros with your friends again, as long as you are both using the latest version.
Fixed a bug where buttons on the SDM frame would sometimes stretch away
*Many UI Improvements

2.3 (11/16/11)
*The SDM frame now hides when you press escape!
*Added more tooltips; still more to come

2.2.1 (11/15/11)
*Fixed a bug where the macro list sometimes became unclickable

2.2 (11/4/11)
*Upgraded macros will now appropriately change their icons based on the macro code (unless an icon other than the Question Mark icon was selected). If you upgraded a macro with version 2.1, you will need to manually change the icon to the Question Mark icon.
*Added a "Downgrade" button that converts a Super Duper macro into a standard macro
*Added a "Claim"/"Disown" button that allows you to have a single character-specific macro or script that applies to multiple characters
*Added a "Save As..." button that allows you to save an existing macro as a different type or character. For example, you can save a button macro as a floating macro if you want to free up a macro slot.
*Several UI improvements; more to come!

2.1 (10/19/11)
*Added an "Upgrade" button to the standard macro frame, allowing you to convert a standard macro into a Super Duper macro
*Removed an overbearing version-checking system

2.0 (10/16/11)
Incorporated compatibility updates by survivorx and ambro

1.8.3 (2/26/09)
*Changing the name of a macro will now properly update the title text above the edit box.
*Improved the "/sdm test" function. Please re-test it and submit your results!

1.8.2 (2/26/09)
*Fixed a bug that caused the image on button macros to show as a question mark more often than necessary.
*Added a command "/sdm test" that does nothing but check some nyi code. Please run this command and report the results at wowinterface.com.

1.8.1 (2/21/09)
*SDM no longer conflicts with LayMacroTooltip or with other addons that modify the macro frame.

1.8 (2/20/09)
*Added the option of creating folders to organize your macros
*Numerous minor UI improvements

1.7 (2/8/09)
*Made the macro list better
- Color-coded the different macro types
- Created a slider below the menu to adjust the size of the icons
- Added drop-down menus to filter the list by type and character
*Changed the storage of macros in preparation for a future version that will include a sortable macro list with user-defined folders
*Bug fixes
- The save confirmation dialog box now shows while dead
- Fixed a typo in the "Usage..." text for scripts

1.6.1 (1/27/09)
*Fixed a serious bug that happened upon login after leaving "different name on button" blank. You may now safely leave it blank if you wish to show no text on the button.

1.6 (1/19/09)
Changed the slash command to run a floating macro. Also added a command to run button macros. Click the "Usage..." button for more details.
*Added an interface for changing the name and icon of a macro within the SDM window.
Button macro names now conflict with each other (unless they are specific to different characters)
Disallowed some characters in macro/script names because they were causing problems. You may find that some of these problematic characters still work on button macros, for which you can select a different name in the Change Name/Icon frame.
*Changed the appearance of button macros when viewed in the default macro frame
Added a clickable, scrolling menu of macros. This will be further improved later.
*Several efficiency improvements. As a consequence, your SDM-created button macros will be removed from action bars and lose thieir icons. Sorry!

1.5.1 (1/12/09)
*Minor bug fixes

1.5 (1/12/09)
*Added the ability to share macros with other players (click "Send/Receive" to check it out!)
Fixed a bug where the Save button was sometimes inappropriately disabled

1.4.1 (1/9/09)
*Fixed a minor bug that sometimes occurred while loading

1.4 (1/8/09)
Added an option to show/hide the text on macro buttons
Fixed ">" to be more accurate
SDM will no longer attempt to create, delete, or modify macros during combat. You can still do these things, but the changes will not take effect until after combat.
*Deleting floating macros will now actually disable them
Greatly increased the efficiency of operations like saving and deleting
*Increased the limit on the length of each line to 1023, and made the number of lines limitless (actually, the maximum length of any string is 2^24 characters, so the limit is somewhere below that, but that's the length of about 20 average novels and it will probably crash your client).
*Changed the structure of the macro frames to eliminate the chance of a recently discovered "C stack overflow" error on very long macros

1.3.1 (12/16/08)
*Fixed an occasional bug with the "Get Link" and "Delete" buttons
Blocked you from attempting to make more button macros than the standard macro interface can hold

1.3 (12/15/08)
You can now use the addon to store long scripts and call them via a function or slash command.
SDM now keeps track of the button macros it creates, and deletes orphaned ones upon login. If you are upgrading from a previous version, you can delete the old button macros that SDM created (the text of the new ones all start with "#sdm").
Because of this, SDM will no longer ever replace your macros, and their names do not need to be unique at all. Floating macros and Scripts still have some restrictions on naming, you will get a warning it you try to violate them.
Added many UI improvements to make working with the addon more intuitive:
- Pressing tab will now add four spaces
- Pressing enter will now be equivalent to the appropriate button click
- Moved some buttons around to more appropriate places
- Added buttons that link between the regular macro window and the SDM window
- Buttons will now "gray out" when appropriate
- The SDM window will now become unresponsive during confirmation dialogs

1.2 (12/13/08)
Fixed a bug that caused major problems when there were no macros in the list.

1.1 (12/12/08)
More UI improvements. Some UI elements are still placeholders.

1.0 (11/13/08)
just two minor updates in code to make it 3.0-ready. More UI improvements to come!
Optional Files (2)
File Name
Version
Size
Author
Date
Type
2.5
128kB
03-04-12 10:27 PM
Patch
1.8.3-4
16kB
06-30-11 11:50 AM
Patch


Archived Files (28)
File Name
Version
Size
Author
Date
2.6
56kB
hypehuman
10-16-14 01:32 AM
2.4.6
124kB
hypehuman
02-20-12 02:11 PM
2.4.5
124kB
hypehuman
01-17-12 10:43 PM
2.4.4
124kB
hypehuman
12-17-11 09:12 AM
2.4.3
124kB
hypehuman
11-30-11 07:03 PM
2.4.2
124kB
hypehuman
11-30-11 05:53 PM
2.4.1
123kB
hypehuman
11-30-11 03:12 AM
2.4
123kB
hypehuman
11-20-11 05:39 AM
2.3
57kB
hypehuman
11-16-11 09:21 PM
2.2.1
55kB
hypehuman
11-15-11 12:57 PM
2.2
55kB
hypehuman
11-04-11 01:46 PM
2.1
28kB
hypehuman
10-19-11 01:48 AM
2.1
29kB
hypehuman
10-16-11 10:53 AM
1.8.3
29kB
hypehuman
02-26-09 09:23 PM
1.8.3
28kB
hypehuman
02-25-09 11:20 PM
1.8.1
25kB
hypehuman
02-21-09 11:24 AM
1.8
25kB
hypehuman
02-20-09 11:38 AM
1.7
23kB
hypehuman
02-08-09 11:13 PM
1.6.1
21kB
hypehuman
01-27-09 10:55 PM
1.6
21kB
hypehuman
01-19-09 08:50 PM
1.5.1
18kB
hypehuman
01-12-09 09:12 PM
1.5
17kB
hypehuman
01-12-09 05:46 PM
1.5
14kB
hypehuman
01-09-09 04:20 AM
1.4
13kB
hypehuman
01-08-09 11:12 PM
1.3.1
10kB
hypehuman
12-16-08 12:46 PM
1.3
10kB
hypehuman
12-15-08 06:55 PM
1.2
8kB
hypehuman
12-13-08 09:59 AM
1.1
8kB
hypehuman
12-12-08 03:06 AM


Post A Reply Comment Options
Unread 08-17-09, 03:04 AM  
deep92
A Murloc Raider

Forum posts: 5
File comments: 103
Uploads: 0
I have no clue on what that is :>

I can tell you: No, Hypehuman hasn't been active for like.. idk months really.. I PMd him and stuff, but he seems to be back to the nether..

I remember him saying he wasn't well (after being absent for a month) and he was getting back on the horse.. But soon after that he was gone again, maybe it's the same problem.

I think the best thing you can do is to try and find replacement, fix the problem yourself or just go on with it.. It's working as intended for me though..

I'll be around here answering questions when you don't get something, you can subscribe to the thread in the right top of the posts -> Comment Options -> Add to E-Mail Feed
__________________
Stupid sig #666
Last edited by deep92 : 08-17-09 at 03:05 AM.
deep92 is offline Report comment to moderator  
Reply With Quote
Unread 08-15-09, 07:22 AM  
omicron
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 47
Uploads: 1
any chance to get functions like SpelloutMacro has?
omicron is offline Report comment to moderator  
Reply With Quote
Unread 08-14-09, 08:07 PM  
woonieq
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Originally posted by woonieq
I am having an issue where I will not be able to move or click on any of the macros inside SDM.

For instance, I switch out a lot of macros sometimes during raids or dailies and they will just be unclickable and I can't do anything inside SDM options.

What's happening?
This is still happening and I can't edit it. Please help!
woonieq is offline Report comment to moderator  
Reply With Quote
Unread 08-11-09, 02:52 AM  
woonieq
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
I am having an issue where I will not be able to move or click on any of the macros inside SDM.

For instance, I switch out a lot of macros sometimes during raids or dailies and they will just be unclickable and I can't do anything inside SDM options.

What's happening?
woonieq is offline Report comment to moderator  
Reply With Quote
Unread 08-09-09, 01:51 PM  
peyote247
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Great addon but since 3.2 it has lost all my macro's at least 3 times. Anyone else suffering from this? log out of raid for 2 secs then back in and hey presto no stored macros .
peyote247 is offline Report comment to moderator  
Reply With Quote
Unread 07-27-09, 12:36 PM  
Arin
A Fallenroot Satyr

Forum posts: 23
File comments: 2
Uploads: 0
Nice addon...found it via wowhead for macros on hunting the Medium Rare and Northern Expossure achievements. Are there any macro sites that are good resources to take advantage of this addons characteristics?
Arin is offline Report comment to moderator  
Reply With Quote
Unread 07-21-09, 01:19 PM  
deep92
A Murloc Raider

Forum posts: 5
File comments: 103
Uploads: 0
Euhm, I think you need to use sdf for floats and sdb for buttons or something, try the "Usage..." button on the sdm frame
__________________
Stupid sig #666
deep92 is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 07:20 PM  
franky12423
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
random click

im trying to do something simmilar to auralynne, but different in that the answer to her question doenst exactly help me. im trying to get a macro to randomly select one of 5 different macro's using the same /click strategy but i am unable to use the answer provided for aura. the text im using is as follows:

/local m={sdm_one, sdm_two, sdm_three} m[random(1,#m)]:Click()

the macros i am trying to select from are floating macros if that makes any difference. any help would be fantastic
Last edited by franky12423 : 06-26-09 at 07:20 PM.
franky12423 is offline Report comment to moderator  
Reply With Quote
Unread 06-13-09, 05:06 PM  
Tehdead
An Aku'mai Servant

Forum posts: 39
File comments: 2
Uploads: 0
Still works perfectly, as a minor bug that needs to be looked at. If you move the window from the original anchor spot and exit. The next time you open it the text box and buttons aren't resetting there points so your main frame is where it should be but everything else will be in the same spot as when you closed it.
__________________

~Current Time Consuming Projects~
listed in priority

- WOWParadox ~ 30%
- nUI[WSG] ~ 60%
- nUI[Currency Panel] ~ 90%
- nUI[AB] ~ 40%
Tehdead is offline Report comment to moderator  
Reply With Quote
Unread 06-03-09, 10:52 AM  
slickwalker
A Deviate Faerie Dragon
 
slickwalker's Avatar

Forum posts: 18
File comments: 156
Uploads: 0
slickwalker is offline Report comment to moderator  
Reply With Quote
Unread 05-19-09, 06:36 AM  
deep92
A Murloc Raider

Forum posts: 5
File comments: 103
Uploads: 0
Does this also happen with all other addons disabled? And do you have the newest version?
__________________
Stupid sig #666
deep92 is offline Report comment to moderator  
Reply With Quote
Unread 05-18-09, 01:04 PM  
effluvius
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Error

Date: 2009-05-18 15:02:10
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\SuperDuperMacro\SuperDuperMacro.lua line 32:
unfinished string near '", nil, "SecureActionButtonTemplate")
'
Debug:
[C]: ?
AddOns:
Swatter, v5.5.4227 (WombatII)
Aloft, v2.7.8
AtlasLoot, vv5.05.00
AucAdvanced, v5.5.4227 (WombatII)
AucFilterBasic, v5.5.4227 (WombatII)
AucFilterOutlier, v5.5.4227.2531
AucMatchUndercut, v5.5.4227.2531
AucStatClassic, v5.5.4227 (WombatII)
AucStatHistogram, v5.5.4227 (WombatII)
AucStatiLevel, v5.5.4227 (WombatII)
AucStatPurchased, v5.5.4227 (WombatII)
AucStatSales, v5.5.4227.2842
AucStatSimple, v5.5.4227 (WombatII)
AucStatStdDev, v5.5.4227 (WombatII)
AucStatWOWEcon, v5.5.4227.2530
AucUtilAHWindowControl, v5.5.4227.3311
AucUtilAppraiser, v5.5.4227.2530
AucUtilAskPrice, v5.5.4227.3175
AucUtilAutoMagic, v5.5.4227.3142
AucUtilCompactUI, v5.5.4227.2530
AucUtilEasyBuyout, v5.5.4227.3583
AucUtilItemSuggest, v5.5.4227.3108
AucUtilPriceLevel, v5.5.4227.2545
AucUtilScanButton, v5.5.4227.2530
AucUtilScanFinish, v5.5.4227.2530
AucUtilScanProgress, v5.5.4227.2530
AucUtilSearchUI, v5.5.4227.3655
AucUtilSimpleAuction, v5.5.4227.0
AucUtilVendMarkup, v5.5.4227.2530
Babylonian, v5.1.DEV.130
Bagnon, v1.7.2
BagnonForever, v1.1.1
BagnonTooltips, v
Bartender4, v4.3.3
BetterInbox, v
BrokerBags, v1.2
ButtonFacade, v3.0.240
ButtonFacadeOnyx, v3.1.44
Cellular, v3.1.002
CloseUp, v3.1.001
Configator, v5.1.DEV.190
DBMBurningCrusade, v
DBMCore, v
DebugLib, v5.1.DEV.130
DrDamage, v1.6.3-beta1
EquipCompare, v2.16
Examiner, v09.05.10
GatherMate, vv1.16
GatherMateSharing, v1.1
Gossipmonger, v0.81
Grid, v1.30100.2009041601
GridLib, v1.0
GridUnitMenu, v30100.0
HideBlizzard, v1.0.39
IceHUD, v1.5.9 (Revision: 409)
ItemRack, v
LightHeaded, v288
MalygosCP, v0.2
Mapster, v1.2.2
MikScrollingBattleText, v5.4.58
OmniCC, v2.5.2
OPie, v
picoGuild, v3.0.3.5
Prat30, v3.2b2
Prat30HighCPUUsageModules, v
Prat30Libraries, v
Quartz, v1.0
RatingBuster, v
SatrinaBuffFrame, v3.1
Scrap, vBeta 4.1
SellFish, v2.1.9
SexyMap, v
Skada, v1.0
SkadaAbsorbs, v1.0
SkadaDamage, v1.0
SkadaDamageTaken, v1.0
SkadaDeaths, v1.0
SkadaDebuffs, v1.0
SkadaDispels, v1.0
SkadaEnemies, v1.0
SkadaFailbot, v1.0
SkadaHealing, v1.0
SkadaPower, v1.0
SkadaThreat, v1.0
Skillet, v
Skinner, vb2.9835.6
SlideBar, v5.5.4227 (WombatII)
StatBlockDurability, v2.1.2
StatBlockFPS, v2.1.2
StatBlockLatency, v2.1.2
StatBlockMemory, v2.1.2
StatBlockMoney, v2.1.2
StatBlockXP, v2.1.2
StatBlockCore, v2.6
Stubby, v5.5.4227 (WombatII)
SuperDuperMacro, v1.8.3
(ck=9b7)

This error pops up upon login, and SDM does not initialize.

Edit: Okay, it looks like its actually 11 errors all at once!

Date: 2009-05-18 15:02:10
ID: 2
Error occured in: Global
Count: 1
Message: [string "sdm_mainFrame_newButton:OnLoad"] line 1:
attempt to call global 'sdm_AddToExclusiveGroup' (a nil value)
Debug:
[C]: sdm_AddToExclusiveGroup()
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1

Date: 2009-05-18 15:02:10
ID: 3
Error occured in: Global
Count: 1
Message: [string "sdm_mainFrame_changeIconButton:OnLoad"] line 1:
attempt to call global 'sdm_AddToExclusiveGroup' (a nil value)
Debug:
[C]: sdm_AddToExclusiveGroup()
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1

Date: 2009-05-18 15:02:10
ID: 4
Error occured in: Global
Count: 1
Message: [string "sdm_mainFrame_newFolderButton:OnLoad"] line 1:
attempt to call global 'sdm_AddToExclusiveGroup' (a nil value)
Debug:
[C]: sdm_AddToExclusiveGroup()
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1

Date: 2009-05-18 15:02:10
ID: 5
Error occured in: Global
Count: 1
Message: [string "sdm_newFrame_buttonRadio:OnLoad"] line 3:
attempt to call global 'sdm_GetColor' (a nil value)
Debug:
[C]: sdm_GetColor()
[string "*:OnLoad"]:3:
[string "*:OnLoad"]:1

Date: 2009-05-18 15:02:10
ID: 6
Error occured in: Global
Count: 1
Message: [string "sdm_newFrame_floatingRadio:OnLoad"] line 2:
attempt to call global 'sdm_GetColor' (a nil value)
Debug:
[C]: sdm_GetColor()
[string "*:OnLoad"]:2:
[string "*:OnLoad"]:1

Date: 2009-05-18 15:02:10
ID: 7
Error occured in: Global
Count: 1
Message: [string "sdm_newFrame_scriptRadio:OnLoad"] line 2:
attempt to call global 'sdm_GetColor' (a nil value)
Debug:
[C]: sdm_GetColor()
[string "*:OnLoad"]:2:
[string "*:OnLoad"]:1

Date: 2009-05-18 15:02:10
ID: 8
Error occured in: Global
Count: 1
Message: [string "sdm_newFrame:OnLoad"] line 1:
attempt to call global 'sdm_AddToExclusiveGroup' (a nil value)
Debug:
[C]: sdm_AddToExclusiveGroup()
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1

Date: 2009-05-18 15:02:10
ID: 9
Error occured in: Global
Count: 1
Message: [string "sdm_newFolderFrame:OnLoad"] line 1:
attempt to call global 'sdm_AddToExclusiveGroup' (a nil value)
Debug:
[C]: sdm_AddToExclusiveGroup()
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1

Date: 2009-05-18 15:02:10
ID: 10
Error occured in: Global
Count: 1
Message: [string "sdm_changeIconFrame:OnLoad"] line 1:
attempt to call global 'sdm_AddToExclusiveGroup' (a nil value)
Debug:
[C]: sdm_AddToExclusiveGroup()
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1

Date: 2009-05-18 15:02:10
ID: 11
Error occured in: Global
Count: 1
Message: [string "sdm_sendReceiveFrame_receiveButton:OnLoad"] line 1:
attempt to call global 'sdm_AddToExclusiveGroup' (a nil value)
Debug:
[C]: sdm_AddToExclusiveGroup()
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1
Last edited by effluvius : 05-18-09 at 01:14 PM.
effluvius is offline Report comment to moderator  
Reply With Quote
Unread 05-12-09, 12:55 AM  
deep92
A Murloc Raider

Forum posts: 5
File comments: 103
Uploads: 0
Re: Re: Re: Random Click macro?

Originally posted by sunsmoon
That will not work. Rather than saying something based off a mouse click, it will display:
Estrela says: [button:2] <yourtexthere>

You will need to use:

/run SendChatMessage(({"Saying1","Saying2","Saying3","Saying4"})[math.random(4)],"SAY")

Of course, change Saying# to a saying you want, and 4 to the number of sayings you have. Delete each ,"Saying" that you do not use (or leave it blank to have it not say something every time), or add another ,"Saying" for each additional saying you want. Note that the comma and quotes are necessary!
Well, that's what I meant with a script. So that'll help more out. I thought the conditions worked for all /commands :O

But with mine you could also do it differently with floats then, but I'd recommend the script of sunsmoon
__________________
Stupid sig #666
deep92 is offline Report comment to moderator  
Reply With Quote
Unread 05-11-09, 02:36 PM  
sunsmoon
A Defias Bandit
 
sunsmoon's Avatar

Forum posts: 3
File comments: 11
Uploads: 0
Re: Re: Random Click macro?

Originally posted by deep92
What you could also do is this:

Code:
/s [button:1] <yourtexthere>
/s [button:2] <yourtexthere>
/s [button:3] <yourtexthere>
/cast Resurection (Rank 7)
So you just use those conditions, conditions. This will say different things upon different mousclicks. But if you have those clicks already bound or such, you could use [mod:shift], [mod:ctrl] and [mod:alt] too. Endless ways :>
You don't need a floating macro though

Hope I helped out a bit!
That will not work. Rather than saying something based off a mouse click, it will display:
Estrela says: [button:2] <yourtexthere>

You will need to use:

/run SendChatMessage(({"Saying1","Saying2","Saying3","Saying4"})[math.random(4)],"SAY")

Of course, change Saying# to a saying you want, and 4 to the number of sayings you have. Delete each ,"Saying" that you do not use (or leave it blank to have it not say something every time), or add another ,"Saying" for each additional saying you want. Note that the comma and quotes are necessary!
Last edited by sunsmoon : 05-11-09 at 02:37 PM.
sunsmoon is offline Report comment to moderator  
Reply With Quote
Unread 05-11-09, 03:28 AM  
deep92
A Murloc Raider

Forum posts: 5
File comments: 103
Uploads: 0
Re: Random Click macro?

Originally posted by auralynne
Hi! I am trying to use this addon to come up with a rez macro but coming up with problems...

I've discovered that I can use it to link a floating macro from within a button macro. I create a floating macro, name it "one", then create a button macro containing the single line:
/click sdm_one

The result is, when I click the button macro, the floating macro is called upon.

I would like to call upon a random floating macro however. Something like this:

/click random sdm_one, sdm_two, sdm_three
/cast Resurrection (Rank 7)

I know that I can do this with code, but then I would always have to say things. I want to sometimes just announce in party chat that I am rezzing my target, sometimes I would like to yell "WTS %T to necrophiliacs 5g pst!!", sometimes I would like to both say something and do an emote, like:
/s What? %T deat? No they're not!
/s Look over there, a naked gnome!
/me points the other way.

Anyone know how to make a function that calls upon random /click commands?

Thanks a bunch!
You can do this, but not with a floating macro. Hypehuman only included the /click command, so there is no /clickrandom.
What you can do, is to create a script instead of a floating macro. This makes you able to do some randoms. I don't know much of scripts, but google or wowwiki.com is your friend
What you could also do is this:

Code:
/s [button:1] <yourtexthere>
/s [button:2] <yourtexthere>
/s [button:3] <yourtexthere>
/cast Resurection (Rank 7)
So you just use those conditions, conditions. This will say different things upon different mousclicks. But if you have those clicks already bound or such, you could use [mod:shift], [mod:ctrl] and [mod:alt] too. Endless ways :>
You don't need a floating macro though

Hope I helped out a bit!
__________________
Stupid sig #666
deep92 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: