TalentWhisper
Ace mod to send your talentbuild to a player or chat channel.
Or send your build to any player who sends [TalentWhisper] to you (includes a spam protection).
---2.x: Rewritten for the Ace framework.---
Commands:
/TalentWhisper or /TW
- sendToGuild
- sendToParty
- sendToRaid
- sendToSay
- sendToOfficer
- sendToBg
- sendToPlayer [PlayerName]
- sendToChannel [ChannelNumber]
- about
Example: /TalentWhisper sendToChannel 1 will print your build into channel 1 (general chat channel)
I've found this a very handy mod when discussing specs in-game. Much less hassle than alt+tabbing and copy+pasting links in the hope that the recipient has a mod that allows link copying. :)
Well, that's a good idea and I'll change a handfull of names :)
Edit: Changed the names to TalentWhisper_Foo, should fix it.
please rename your function either to be friendly to the global namespace or make them local - with their current names they can (and do) cause problems in other addons.
Changed to *.zip format.
Not requesting this for me, but for the majority of people that can't open RAR files and/or catalog RAR files: compress this into a ZIP as 99% of other mods are, please.
Fabulous mod otherwise.
Ok, added a spam protection :)
Never used it myself...
But take a look at the how-tos on wowwiki, this thread seems to handle the subject: http://www.wowwiki.com/HOWTO:_Hook_chat_frames_to_modify_or_suppress_messages
Is there any way to hide the whispers you receive and send to others?
I have somewhat abused this mod to respond to whispers concerning the dps groups on 4 horsemen, and I fear I will be cluttered in pink chat text. ;)
I know several addons are hiding whispers, but I'm not very confident to LUA ( indeed, if I could write this in PHP, my code would look a lot better), so I don't really know what to do. Looks like it has something to do with hooking the chat frame and stuff, but I'm kind of overstrained here.
Ok, fixed that. Took me a while to figure out what was wrong with: string.find(string.lower(message), string.lower(TALENTWHISPER_KEYWORD)) => should be string.find(string.lower(message), string.lower(TALENTWHISPER_KEYWORD), 1, true) neglects the [] pattern matching ;)
Sure ;)
Yeah, I could add an event to whisper your build back. Keep in mind that that will only work if you got your whole guild to get this mod.
Still want it? :p
Can you make the addon automatically reply to some keyword with your talents? I am going to modify it now because we need that for our guild to check loot preferences (and we cant trust our members talents sience sience our last false sword-spec rogue) but it will be nice if its a default addon feature.
Try adding this code, it "may" work (cant test it as I am now on my faculty and our firewall doesnt let me play WoW) With this code it will reply with your talents when you receive a tell with "[Talents]"
Add to TalentWhisper.lua, on function TalentWhisper_OnLoad() this:RegisterEvent("CHAT_MSG_WHISPER");
Add to TalentWhisper.lua, at the end of the file function TalentWhisper_OnEvent() if ( event == "CHAT_MSG_WHISPER" ) then if ( string.find( arg1, "[Talents]" ) ) then print_talents("whisper", arg2); end end end
Add to TalentWhisper.xml, after <OnLoad>...</OnLoad> <OnEvent> TalentWhisper_OnEvent(); </OnEvent>
@Heph-Escaper: Added the basic chat lists: raid, guild, say, party + the /1-9 channels.
can u add a channel command? be nice to be able to post it to private mage channel
cool. nice idea
Nice Addon :) Suggestion: Support for sending the talent build to the party. Support for sending the talent build to the guild.
German Translation: whisper(pointsSpent .. " " .. nameTab .. "-Punkte vergeben:", player);
Nice Addon :) Suggestion: Support for sending the talent build to the party. Support for sending the talent build to the guild.
German Translation: whisper(pointsSpent .. " " .. nameTab .. "-Punkte vergeben:", player);