- Registered User
Member for 11 years and 11 months
Last active Sat, Dec, 30 2017 14:15:06
- 0 Followers
- 6 Total Posts
- 0 Thanks
Dec 5, 2007Can i access to xml valors?Posted in: Lua Code Discussion
<FontString name="Simple_Text" inherits="ChatFontNormal" text='SoCDB'>
I want in my Lua code that "text" shows my SocDB (database valor)
I use gooogle and wowwiki but i dont see anything.... can you iluminate me? ty in advance.
Nov 29, 2007Hi all i need help with some code. When proc SoC is activate "CHAT_MSG_SPELL_SELF_DAMAGE" is activate, i know how i can see Yellow_damage, but there is too White_Damage (at same time), but i dont know how can i access it... Can someone help me plz?Posted in: Lua Code Discussion
My code is:
self:Print("Ha cogido el dps")
if CommandIsActive == 1 then
for type, mob, dmg in string.gmatch(arg1, "Your (.+) hits (.+) for (%d+).") do
SoCDamage = dmg
--if (event == "CHAT_MSG_COMBAT_SELF_HITS") then
--for mob, dmg in string.gmatch(arg1, "You hit (.+) for (%d+).") do
--HitDamage = dmg
TOTAL_DAMAGE = SoCDamage + HitDamage
self:Print("Parece que funciono")
TOTAL_DAMAGE = 0
HitDamage = 0
SoCDamage = 0
Nov 20, 2007Hi all, i am starting to code something with LUA, i have readed lot of addons, tutorials etc... But i cant find how can do this:Posted in: Lua Code Discussion
I want to write in the chat dialog the seal of command valour, I wrote something like this:
--self:Print("Hi I am here!")
if arg1 ~= "Your Seal" then
if self.db.profile.showInChat then
if self.db.profile.showOnScreen then
UIErrorsFrame:AddMessage(self.db.profile.message, 1.0, 0.0, 0.0, 1.0)
I see people using :
for junk,damage in string.gmatch(arg1, WTEvent_Melee) do
To do something near to my idea but dont know how do it. Can you help me?
Sorry for my bad english.
Nov 12, 2007Sorry for my poor English.Posted in: Lua Code Discussion
Hi, i was using search function forum but i didnt found anything. I am looking for something like this:
but for Combat Chat window ... not for the standard. I want to catch if Seal of command is executed (not buffed).
Thanks in advance.
- To post a comment, please login or register a new account.