Go to Page... |
Compatibility: | Dragonflight (10.0.2) |
Updated: | 11-16-22 03:54 AM |
Created: | unknown |
Downloads: | 16,922 |
Favorites: | 56 |
MD5: |
MacroTalk provides extended chat command support especially useful for macros. (/macrotalk or /mtk with help for IG info)
Table of Contents
Disabling modules
Slash commands
/tellunitConditional chat commands
/group
/opt
/rndcmd
Straight substitutionsDisabling Modules:
Unit information
If you would prefer only to have certain functionality from MacroTalk (forSlash commands:
instance, if you have another addon that provides similar functionality),
you can disable various modules by renaming or deleting the corresponding
.lua files. You can safely remove MacroTalkChatOptions, MacroTalkCommands,
and MacroTalkSubstitutions which correspond to Conditional/Random chat
commands, Slash commands, and Text substitutions, respectively.
/tellunit (/tu, /whisperunit, /wu) <unit> <message>Sends a whisper to the specified unit. See/group (/gr) <message>
http://www.wowwiki.com/API_TYPE_UnitId for a list of units
Example:/cast Innervate
/tellunit target Incoming innervatePicks battleground, raid, or party chat depending on which type of group/opt [options] <slash command>; [options] <slash command>; ...
you are in.Picks from multiple slash commands given the options. You can only use/rndcmd [options] <command 1>\<command 2>; [options] <command 3>\<command 4>...
slash commands that don't trigger secure functions. Chat commands,
emotes, scripts, etc. are OK. /cast, /use, etc. are off limits.
Note: the sub-commands cannot use macro options since the semicolons
would cause ambiguity.
Example:/opt [button:2] /bye; /wavePicks a random slash command out of the group chosen based on the
given options. Each group is a list of slash commands separated by the
backslash (\) character (this is in contrast to commas used for the
built-in random commands--commas are just too common in chat messages).
Note: like the /opt command, the sub-commands cannot use macro options
and you can't use any secure commands.
Example:/rndcmd [swimming] /y Help! I'm Drowning! \ /s The water's great!;
/s Time for a swim... \ /dance
/clearwaypoint or /cwp : Clear any waypoint/pin from your map.Conditional chat commands:
All chat commands (/say, /tell, /guild, etc.) can now accept macro options.Random chat commands:
To use this functionality, simply start the command with /opt. Note:
[target=] has no effect on the output of the chat commands; it only affects
the other conditionals in the clause.
Example:/optsay [swimming] gurgle; [mounted] The cavalry has arrived!Example:/cast [target=focus] Polymorph
/optgroup [target=focus, exists] Sheeping %f
Similar to the macro options, you can now add /rnd to the beginning of anyText substitutions:
chat command to pick a random saying. The /rnd___ commands also take options
to pick a different list of sayings. The lists themselves are separated by
the backslash symbol (\).
Example:/rndyell ZOMG! \ WTF?! \ You there! Check out that noise!Example:/rndsay [outdoors] Ahhh, the Great Outdoors! \ What a lovely day!;
I wish I could go outside right now \ Must... Leave... Building...
MacroTalk offers a variety of substitutions in addition to %t of the defaultAll thanks to CogWheel for his really nice work on this addon, I am here only to maintain it alive
UI. Substitutions are prioritized by the length of the code; longer codes
are processed first. This means that %tl will be processed before %t. The
codes are case-insensitive so %Tl is equivalent to %tL.
Straight substitutions:%n - Your nameUnit information:
%z - Your current zone
%sz - Your current sub-zone (or zone if no sub-zone)
%loc - Your map coordinates
%wp - Link a pin to your current location and then remove it
%pin - Link a pin you've manually added to the map
%cov - Your covenant name
%covb - Your covenant name (blank if no covenant)
%rnl - Your renown level
%rnlb - Your renown level (blank if no renown)
%lt - Local time
%rt - Realm time%t - Name of your target (built in, but listed for consistency)
%f - Name of your focus
%m - Name of mouseover unit
%p - Name of your pet
%tt - Name of your target's target
You can suffix those with one of the following to return other pieces of
data about the unit:
l - Level
c - Class
cl - Unit classification (not localized)
g - Gender
gb - Gender (blank if no gender)
r - Race
rb - Race (blank if no race)
gu - Guild
gu - Guild (blank if no guild)
rm - Realm (works with other realms than yours like in a dungeon)
h - Health (XX/XX)
hp - Health percentage (XX%)
pw - Power - Depending on the unit power, can be mana, focus, energy and so on
pwb - Power (blank if no power)
pwp - Power percentage
pwpb - Power percentage (blank if no mana)
ic - Raid icon
icb - Raid icon (blank if no icon)
gn - Raid group number - Only if target is in the same raid as you, or you are in a raid
gnb - Raid group number (blank if no raid group)
nt - Name with title
ut - Title
utb - Title (blank if no title)
Example:/p Sheeping %f (level %fl %fg %fr %fc)You can also use the suffixes without a unit code to return information
/cast [target=focus] Polymorph
Sample result: Sheeping Cogwheel (level 64 male Gnome Warrior)
about yourself.
Example:/s I'm a level %l, %g, %r %c.
Sample result: I'm a level 68, male, gnome warrior.
Comment Options |
Ziana |
View Public Profile |
Send a private message to Ziana |
Find More Posts by Ziana |
Add Ziana to Your Buddy List |
Elk |
View Public Profile |
Send a private message to Elk |
Find More Posts by Elk |
Add Elk to Your Buddy List |
Guldukhat |
View Public Profile |
Send a private message to Guldukhat |
Find More Posts by Guldukhat |
Add Guldukhat to Your Buddy List |
Cogwheel |
View Public Profile |
Send a private message to Cogwheel |
Visit Cogwheel's homepage! |
Find More Posts by Cogwheel |
Add Cogwheel to Your Buddy List |
rberry88 |
View Public Profile |
Send a private message to rberry88 |
Visit rberry88's homepage! |
Find More Posts by rberry88 |
Add rberry88 to Your Buddy List |
05-07-07, 09:32 AM | |
|
See my response to your bug report
|
|
Cogwheel |
View Public Profile |
Send a private message to Cogwheel |
Visit Cogwheel's homepage! |
Find More Posts by Cogwheel |
Add Cogwheel to Your Buddy List |
Sylaria |
View Public Profile |
Send a private message to Sylaria |
Visit Sylaria's homepage! |
Find More Posts by Sylaria |
Add Sylaria to Your Buddy List |
Cogwheel |
View Public Profile |
Send a private message to Cogwheel |
Visit Cogwheel's homepage! |
Find More Posts by Cogwheel |
Add Cogwheel to Your Buddy List |
06-20-07, 05:47 PM | |
A Kobold Labourer
Forum posts: 1
File comments: 7
Uploads: 0
|
I actually don't mind at all if it doesn't go to /say... as long as it doesn't pop up an error message. You're right, by its nature, it should be in group and those messages shouldn't go to /say when you're not in a group.
|
|
Sylaria |
View Public Profile |
Send a private message to Sylaria |
Visit Sylaria's homepage! |
Find More Posts by Sylaria |
Add Sylaria to Your Buddy List |
06-20-07, 05:51 PM | ||
|
It's designed to simply print a "You're not in a group" to the chat window. |
|
|
Cogwheel |
View Public Profile |
Send a private message to Cogwheel |
Visit Cogwheel's homepage! |
Find More Posts by Cogwheel |
Add Cogwheel to Your Buddy List |
06-20-07, 05:56 PM | ||
A Kobold Labourer
Forum posts: 1
File comments: 7
Uploads: 0
|
This happened with 2.1.1 patch, and I do not recall this happening at all before. |
|
|
Sylaria |
View Public Profile |
Send a private message to Sylaria |
Visit Sylaria's homepage! |
Find More Posts by Sylaria |
Add Sylaria to Your Buddy List |
06-20-07, 06:25 PM | ||
|
|
|
|
Cogwheel |
View Public Profile |
Send a private message to Cogwheel |
Visit Cogwheel's homepage! |
Find More Posts by Cogwheel |
Add Cogwheel to Your Buddy List |
06-20-07, 09:04 PM | |
A Kobold Labourer
Forum posts: 1
File comments: 7
Uploads: 0
|
I posted a bug report with the error message that I got. Keep up the good work Cog, I love your addons and also your insights on the official WoW forums
|
|
Sylaria |
View Public Profile |
Send a private message to Sylaria |
Visit Sylaria's homepage! |
Find More Posts by Sylaria |
Add Sylaria to Your Buddy List |
06-29-07, 03:42 PM | |
A Kobold Labourer
Forum posts: 1
File comments: 7
Uploads: 0
|
woot!.. updated! ^_^
|
|
Sylaria |
View Public Profile |
Send a private message to Sylaria |
Visit Sylaria's homepage! |
Find More Posts by Sylaria |
Add Sylaria to Your Buddy List |
07-09-07, 08:40 AM | |
A Kobold Labourer
Forum posts: 1
File comments: 7
Uploads: 0
|
I found a new error, reported in the bugs...
|
|
Sylaria |
View Public Profile |
Send a private message to Sylaria |
Visit Sylaria's homepage! |
Find More Posts by Sylaria |
Add Sylaria to Your Buddy List |