Download
(2 Kb)
Download
Updated: 10-22-08 06:05 AM
Pictures
File Info
Updated:10-22-08 06:05 AM
Created:unknown
Downloads:5,205
Favorites:22
MD5:
InDemand (Now with /rpt!)  Popular! (More than 5000 hits)
Version: 1.2.0006
by: Nefarion [More]
NOTE: I've had reports of this addon breaking with the patch. I suspect Ace may be interfering with the /in command (since it provides one of its own). I've added a secondary command on a completely separate entry (/ind) to avoid having the two clash. If you see any problems with the normal /in, please switch to /ind.


A simple addon to implement repeating and delaying non-secure macro code.


Delays

The command for delaying is "/in" (alias: "/delay"). It accepts a number (fixed- or floating-point), and a string of slash-command macro text, space-separated.

Example: /in 2.5 /say Hello.

You can also name commands, allowing you to later modify them by resending a slightly altered version of the message. To name a command, insert the name (sans any spaces) within square brackets after the delay. By later sending another command with the same name (case-insensitive), you can modify the original command by that name before it has a chance to execute. Example:

/in 2 [HI] /say Hello
/in 3 [HI] /say Hi


In that example, the original /in command is immediately modified to execute after 3 seconds instead of after 2, and to execute "/say Hi" instead of "/say Hello", by the second command.


Repeats

The command for repeating is "/rpt". It accepts a number, a name within square brackets (sans spaces), and a string of slash-command macro text, space-separated.

Example: /rpt 2.5 [TEST] /s This is a test.

The above timer will execute after 2.5 seconds, saying "This is a test", then continue to spam it every 2.5 seconds afterwards, until canceled.

To cancel an existing timer, simply pass the command the parameter "cancel" followed a name (case-insensitive).

Example: /rpt cancel TEST.

Like the "/in" command, rpt timers can also be modified simply by sending another command by the same name.


This addon is released under the MIT license found here.
1.2.0005:
+ Added a /rpt command.


1.2.0003:
+ Added a [name] option.
+ Removed the dependency on PenduLib.


1.1.0002:
+ TOC bump.
+ Removed unused library.


1.1.0001:
+ Now uses the embedded PenduLib-1.0 timer library. Please report any issues you think may be related to this addons timer's ASAP.


1.0.0155:
+ Cleaned up the code a little. Now has more specialized handling of certain things. This should make it more efficient.
+ Changed how command info is picked up. Floating-point (decimal) delays are now accepted.


1.0.0154:
+ Initial WoWInterface upload.


g-code rev 153:
+ Throttled OnUpdating.


g-code rev 142:
+ Initial commit.
Optional Files (0)


Post A Reply Comment Options
Old 10-21-08, 08:56 PM  
brendon2424
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
/in doesnt work as of 3.0.2

As of 1.2.0005 in 3.0.2 the /rtp works fine, but the /in or /delay does not work. For example, "/rpt 2.5 [TEST] /s This is a test" repeats the text every 2.5 seconds, but "/in 2.5 /say Hello" does nothing at all. I realize that many other addons like ace and such allow for the /in time delay, but they dont include the naming feature "/in 2 [HI] /say Hello" like indemand does which i find very usefull in some situations. I tested this with a new install of wow with no other addons due to the fact that the authors page claims it is wotlk complient.
brendon2424 is offline Report comment to moderator  
Reply With Quote
Old 10-21-08, 10:14 PM  
Nefarion
A Defias Bandit
 
Nefarion's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 57
Uploads: 20
Re: /in doesnt work as of 3.0.2

It works perfectly for me. Are you getting any errors?
Last edited by Nefarion : 10-21-08 at 10:15 PM.
Nefarion is offline Report comment to moderator  
Reply With Quote
Old 10-22-08, 06:05 AM  
Nefarion
A Defias Bandit
 
Nefarion's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 57
Uploads: 20
Re: Re: /in doesnt work as of 3.0.2

Err, see the notice on the comments page, and update.
Nefarion is offline Report comment to moderator  
Reply With Quote
Old 10-22-08, 09:40 AM  
brendon2424
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Awesome! Thx for the quick update. Previously I was getting no errors, just nothing happened. Now /in, /delay, and the new /ind all work. Wasnt an ace interference for me since I was only testing with your addon installed, but it works now with the update so I'm happy. Thx for the small effecient addon.
brendon2424 is offline Report comment to moderator  
Reply With Quote
Old 11-23-08, 11:18 PM  
Potter
A Kobold Labourer

Forum posts: 1
File comments: 186
Uploads: 0
clicking download loads up a file named InDemand-1.0.0006

is the 1.0/1.2 just a typographical error? or's something rotten
Potter is offline Report comment to moderator  
Reply With Quote
Old 12-11-08, 02:18 PM  
Nefarion
A Defias Bandit
 
Nefarion's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 57
Uploads: 20
Originally posted by Potter
clicking download loads up a file named InDemand-1.0.0006

is the 1.0/1.2 just a typographical error? or's something rotten
Oh woops. Yeah, that's just a naming error. It's the correct file.
Nefarion is offline Report comment to moderator  
Reply With Quote
Old 02-03-09, 02:58 PM  
Himeki
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Small, Efficient, Helpful, and just what I've been looking for for quite a while now. ^_^ Thanks for the great job.
Himeki is offline Report comment to moderator  
Reply With Quote
Old 07-29-10, 01:06 AM  
cecilkorik
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I was having issues with the 3.3.5 patch causing problems. The error I was getting was "Message: Interface\FrameXML\ChatFrame.lua:3417: attempt to index field 'header' (a nil value)."

I looked into it and found a potential fix at WowWiki. It involved creating a Frame XML file for InDemand and modifying the .toc to load that instead of loading the .lua file directly, but it worked fine and resolved the errors. A few tiny tweaks to the lua code and it was done. The /ind command works now works perfectly just like it used to. My modified version (based on the latest version here on WoW Interface: 1.2.0006) can be downloaded here: http://sw.eltanin.net/packages/InDemand-1.2.0006a.zip.

If the author would like to include these changes, in whole or in part, in an updated version please feel free to do so, no attribution required! Thank you for a great addon.
cecilkorik is offline Report comment to moderator  
Reply With Quote
Old 09-16-10, 09:59 AM  
Morsker
A Fallenroot Satyr
 
Morsker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 89
Uploads: 13
I noticed this was abandoned, and made an alternative for it. I only implemented /in, because I'm fairly sure that's all anyone uses it for. (I didn't implement /rpt and the naming / canceling features.)

It's called SlashIn and you can get it on both Curse and WowInterface.
Morsker is offline Report comment to moderator  
Reply With Quote
Old 03-01-12, 01:34 PM  
TomTheBeast
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Erm, what is this used for besides RP?

Hey, Well, Here's my problem, When i go and try to use the Addon, it says the /cast is Macro Secured, which is obviously isnt, because i've used /cast in many macros.. This is what it outputs:
Code:
[InDemand] Error:Unable to execute secure command /cast.
If it can't cast spells, what the hell is this used for? O_O
Last edited by TomTheBeast : 03-01-12 at 01:34 PM.
TomTheBeast is offline Report comment to moderator  
Reply With Quote
Old 03-09-12, 04:07 PM  
Ssateneth
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Re: Erm, what is this used for besides RP?

Originally Posted by TomTheBeast
Hey, Well, Here's my problem, When i go and try to use the Addon, it says the /cast is Macro Secured, which is obviously isnt, because i've used /cast in many macros.. This is what it outputs:
Code:
[InDemand] Error:Unable to execute secure command /cast.
If it can't cast spells, what the hell is this used for? O_O
Actually, it IS a secure command. No addon will play the game for you. Macros have been designed to allow you to /cast without the ability to automating gameplay. If /cast wasn't secure, a whole can of worms would be opened up. You could use make the spell only be cast if you had a certain buff up, or if other spells were on cooldown, and so forth (automatic gameplay)

Even if you take out the secure command check in InDemand, you will get a popup saying "InDemand has been blocked from using a secure command only available to the blizzard UI".

Personally, I use repeat to spam trade chat and forget about it (buying mats, selling profession items, looking for people for raid, etc) because /say and /2 and those things are NOT secure and can be automated.
Ssateneth is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: