scripted macro issue, and addon issue - TankSpot
Remove Advertisements
scripted macro issue, and addon issue
TankSpot // TankSpot News & Discussion // User Interface, Addons, and Macros
Reply
 
LinkBack Thread Tools
  #1  
Old 10-17-2009, 08:51 AM
New Registrant
WoW Characters
 
Join Date: Jan 2009
Posts: 6
scripted macro issue, and addon issue

I have two questions, just keeping them in one post ;>

First of all, is there a way to print a string e.g. 12s after a certain GetTime() ?
I'm after a macro which I can SPAM, which prints out in Yell: "Shield Wall up!" and 12 after "Shield Wall down!".

Now, that's easy with a usual macro:
Code:
/cast Shieldwall
/y Shield Wall up!
/in 12 /Shield Wall down!
But if I spam that - do happen in certain situations it prints out a massive spam in yell ^^
Thus I've written this so far:
Code:
/Script 
local start = GetSpellCooldown("Shield Wall"); 
  if (start == 0) 
     then SendChatMessage("Shield Wall up!", "YELL", "Common", ""); 
  end
/cast Shield Wall
It works fairly well, I can spam it and it only prints out once when the ability isn't on cooldown. BUT, it doesn't print when Shield Wall fades away again :<



Now, 2nd problem

I stumbled upon this awesome looking addon the other day:
FogBG : WoWInterface Downloads : Graphic UI Mods
Sadly it doesn't seem to be working anymore with 3.2, so well, if any addon authors/people with lua experience find this interesting as well maybe they could do a rewrite to make it work
I've tried with my very limited knowledge of the language but failed. Would be really grateful if it got working again at some point.



Hope someone is kind enough help me ;>
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


World of Warcraft™ and Blizzard Entertainment® are all trademarks or registered trademarks of Blizzard Entertainment in the United States and/or other countries. These terms and all related materials, logos, and images are copyright © Blizzard Entertainment. This site is in no way associated with or endorsed by Blizzard Entertainment®.