/trunk
Version History |
=============== |
Jan 4, 2010 (2.91) |
* Fixed the issue with cross-realm player names in PUGs and BGs. |
Dec 8, 2009 (2.9) |
* Updated TOC version for WoW client 3.2 |
* Removed in-game Calendar integration. This broke with the last version and needs a more maintainable approach. |
</FontString> |
<FontString |
name="AKA_PrefsUseGNCaption4" |
inherits="GameFontNormal" |
justifyH="LEFT" |
text="Guild notes use 'ALT {player name}' in guild notes." |
> |
<Anchors> |
<Anchor |
point="TOPLEFT" |
relativePoint="TOPLEFT" |
relativeTo="AKA_Prefs_block3" |
> |
<Offset> |
<AbsDimension x="40" y="-170"/> |
</Offset> |
</Anchor> |
</Anchors> |
<Color r=".6" g=".6" b=".6" a="1" /> |
</FontString> |
</Scripts> |
</CheckButton> |
<CheckButton |
name="AKA_Prefs_RB4" |
inherits="SendMailRadioButtonTemplate" |
> |
<Anchors> |
<Anchor point="TOPLEFT" |
relativePoint="TOPLEFT" |
relativeTo="AKA_PrefsUseGNCaption4" |
> |
<Offset><AbsDimension x="-20" y="2"/></Offset> |
</Anchor> |
</Anchors> |
<Scripts> |
<OnLoad> |
</OnLoad> |
<OnClick>AKAOptions_RadioClick(4); |
</OnClick> |
</Scripts> |
</CheckButton> |
<!-- |
<CheckButton |
GUILD_NOTE_STRINGS[1]='%s-(%a-)%A+.*$'; -- 1st word |
GUILD_NOTE_STRINGS[2]='.*%((.*)%).-$'; -- parenthese |
GUILD_NOTE_STRINGS[3]='.*%[(.*)%].-$'; --brackets |
GUILD_NOTE_STRINGS[4]='[aA][lL][tT]%s+(%a-).-$'; --ALT primary char name |
local BASE64={ |
"0","1","2","3","4","5", |
"6","7","8","9","A","B", |
if (guildNoteOption==nil) then |
guildNoteOption=0; |
end |
for i = 0, 3 do |
for i = 0, 4 do |
if (i==guildNoteOption) then |
getglobal("AKA_Prefs_RB"..i):SetChecked(true); |
else |
function AKA_SendMsg(msg, targetPlayer) |
-- send a message using the appropriate channel |
local rChanNum,rChanName, r2, channelInfo; |
if (targetPlayer ~= nil) then |
local dashOffset=string.find(targetPlayer, "-"); |
if (dashOffset ~= nil) then |
-- DEFAULT_CHAT_FRAME:AddMessage("AKA_SendMsg(targetPlayer:"..targetPlayer..")", 0.5, 1.0, 0.5, 3); |
targetPlayer = "PARTY"; |
if (UnitInRaid("player")==1) then |
targetPlayer = "RAID"; |
end |
end |
end |
channelInfo=AKA_SavedVars["MyToons"][myPlayerID]["com_channels"]; -- make a shorter reference |
if ((targetPlayer == nil) or (targetPlayer == "")) then |
-- regular broadcasts: |
## Interface: 30300 |
## Title: AKA |
## Notes: Publishes player alts to guild members |
## Version: 2.9 |
## Version: 2.91 |
## Author: Schnoggo |
## OptionalDeps: CleanChat,Gatherer,GuildEventManager2 |
## SavedVariables: AKA_SavedVars, AKA_USERID, AKA_DEBUG, AKA_TRAFFICMONITOR |