Download
(22Kb)
Download
Updated: 03-10-10 07:17 PM
Pictures
File Info
Updated:03-10-10 07:17 PM
Created:01-28-09 08:47 PM
Downloads:3,493
Favorites:21
MD5:

AutoLink

Version: 0.4.1
by: ogreinside [More]

AutoLink monitors chat communications for profession link requests, and generates a whisper to the person by default, but can optionally respond to the channel the request came from. By default it will monitor incoming chat whispers, guild, party, and raid channels, and can optionally monitor say, yell, trade, and general channels.

AutoLink works without requiring the requester to have knowledge of your mod. It scans for keywords like "link" and "enchanting", and checks to see if you have the enchanting skill before sending a link. It can also respond to command requests such as "!enchant". Additionally, AutoLink responds to requests like "link" and "all" and will send a link for all professions you currently have.

By default AutoLink will not respond during AFK or DND status. To override this, set /al always (really works this time!). You can also maintain an AutoLink ignore list with /al ignore. I will look at synching this with the game's ignore list in the future.

AutoLink was inspired by Ronin1337's Linker mod. While I really liked the simplicity of that mod, it required others to know you had it. While using his mod, I still had friends (you know who you are, pete!) sending me whispers like "can you link me your enchanting dude please" when it was less characters to just type "!enchant" So I decided I needed a way to have a mod respond without others needing to know you have it. AutoLink does not interfere with Linker or other mods like CraftList, both mods will still trigger.

Notes:
* Currently there is no negative detection, so if someone says "Please do not link me your enchanting" it will still send a link, a future version will fix this.
* Version 0.3 added a small measure of spam prevention. Any user that receives a link will be temporarily ignored for the rest of that minute. If this proves helpful I may expand on this and potentially add options to increase this time. This is based on the in-game time, so if someone sends a request at 08:05:59 and again at 09:06:01 they will receive a link both times, but not again until 09:07.
** Update: this is still on by default, but you can turn it off with "/al nospam"

Usage:

By default, AutoLink loads and is ready to go. You can modify and list which channels it monitors with "/autolink" or "/al".

Update v0.4.1: New Commands:
"/autolink all_skills" - toggle responding to requests for all links (!link, link all, show all)
"/autolink all_chats" - changed from previous "/autolink all" to monitor all chat channels
"/autolink append" - changed from "/autolink message", though both work

Commands:
"/autolink enable|on" - enable the mod
"/autolink disable|off" - disable the mod
"/autolink <chat channel>" - toggle monitoring that channel
"/autolink all" - monitor all chat channels
"/autolink <profession>"- toggle linking that profession
"/autolink list" - list channel and profession status
"/autolink self|me" - toggle monitoring your own chat
"/autolink prefix <prefix>" - prefix <prefix> to all outgoing links, or disable if no text
"/autolink message <message>" - append <message> to all outgoing links, or disable if no text
"/autolink always" - toggle responding during AFK/DND
"/autolink ignore <name>" - add/remove a name from the AutoLink ignore list
"/autolink nospam" - toggle anti-spam (1 min ban to each person) or allowing people to trigger you endlessles (careful)
"/autolink public" - toggle responding via whispers or original channel the request came from
"/autolink reset" - reset all settings to default

Example commands:
"/autolink prefix (10G per)" - All links will be prefixed with this
"/autolink trade" - toggle monitoring trade channel
"/autolink list" - list all channels and professions
"/autolink self" - toggle this on to test the mod yourself
"/autolink ignore Somejerk" - AutoLink will ignore the user ''Somejerk'' and not send them links. If ''Somejerk'' is already on the AutoLink ignore list, this command will remove them.
"/autolink ignore" - List all users on the AutoLink ignore list
"/autolink message (I tip YOU if I level!)" - Appends this to all links

Examples that will trigger AutoLink:
"Can someone link me their bs?"
"!tailor"
"LF LW"

These following examples will generate a link for all professions you know:
"Please do not list me any professions" (it still triggers on this)
"link skills"
"!link"

* Wed Mar 10 2010 ogreinside
** v0.4.1
** Added option "/al all_skills" to toggle responding to requests for all your professions
** Changed option "/all all" to "/al all_chats" for enabling all chat monitoring
** Added option "/al append" which functions the same as "/al message"
** Fixed issue with "/al prefix" if it was removed, it was not generating links
** Changed response to all skills to display one per line, since WOW has issues sometimes dispalying more than one on a single line
** Added ignore for "LFM" per XtAkm4p
** Optimized some code in preparation for new features in next version

* Tue Mar 04 2010 ogreinside
** v0.4
** Removed default action of sending console message when auto-ignoring someone for the default 1 in anti-spam
** Added option "/al nospam" which toggles auto-ignoring someone or not (careful with this, as someone could spam you and trigger responses over and over if you disable it)
** Added option "/al public" which toggles responding publically via the original channel that the request came from, or just sending a tell. Note that sometimes "General" chat failed, so it will default to a tell if this fails (suggested by zamSE)
** Changed the default message instead of appending "AutoLink vX.Y.Z", it now shows "(AutoLink)" in front of the link, as per Tisser2's suggestion.
** Added option "/al prefix" which works like "message" option, but controls the prefix of your autolinks. By default it sets this to "(AutoLink) ", but you can set it to anything, or disable it with just "/al prefix"
** Fixed a number of spelling errors
** Changed several actions to be external functions, trying to move towards a system which will allow localization
** Added additional trigger terms as per dernir
** Fixed bug where "/al always" wasn't actually working during afk/dnd as per wobina

* Tue Feb 24 2009 ogreinside
** v0.3.1
** Addressed issue where users were being temporarily ignored even if they weren't sent a link
** Changed ignore message to only display if debug option was set
** Added display of custom message to "/al list"

* Sat Feb 21 2009 ogreinside
** v0.3
** Fixed typo of "alchemy" from "alcemy" in the variables section
** Added "/al reset" to revert all settings to default
** Will now exit on additional words "LF Work" "Looking For Work"
** Changed the string matching functions to match on whole words only, so "eng" won't be matched from "strength" and other similar words. This will also make it easy to localize in the future.
** Split "link all" function into a two-line response for primary/secondary skills. This is due to a limitation in WoW that only allows 2 primaries to be listed by themselves on one line.
** Added ability to set a custom message to all links
** Now checking for AFK and DND status. AutoLink halts on these by default, but can be overridden with "/al always"
** As a minor spam prevention mechanism, users are only sent links once per minute now.
** Added "/al debug" which will spew a lot of console messages for debugging purposes.

* Wed Jan 28 2009 ogreinside
** v0.2
** Added monitoring of trade and general channels
** Added toggle for player's chat. This is disabled by default, enable it to have the mod respond to your own chat. Useful for testing.
** Added variables to toggle any profession. Used to turn off linking any profession. Note that this will respond to direct whispers as if you do not have the skill.
** Added First Aid skill to be auto linked, but is disabled by default. This needs to be turned on with "/al firstaid" if desired.
** Cleaned up cli output and listing of channels and professions
** Changed "all profession" function to link on a single line, instead of one per profession.
** Added triggers for "LF <profession>", but ignoring anything with "LFW" or "WTS".

* Fri Jan 09 2009 ogreinside
** v0.1
** Initial release - Monitoring for guild, party, raid, say and yell channels
Optional Files (0)


Post A Reply Comment Options
Unread 07-16-11, 12:37 PM  
litesung
A Flamescale Wyrmkin
 
litesung's Avatar

Forum posts: 130
File comments: 231
Uploads: 0
4.2 Update? Does this still work? I'm about to test it tonight when I get home.
Report comment to moderator  
Reply With Quote
Unread 10-15-10, 02:55 PM  
jmcgrath
A Deviate Faerie Dragon
 
jmcgrath's Avatar

Forum posts: 16
File comments: 185
Uploads: 0
Any 4.0.1 update planned?

Thank you.
Report comment to moderator  
Reply With Quote
Unread 07-12-10, 03:04 PM  
Myster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 167
Uploads: 11
feature request

needs smelting added
Report comment to moderator  
Reply With Quote
Unread 05-29-10, 04:05 PM  
jmcgrath
A Deviate Faerie Dragon
 
jmcgrath's Avatar

Forum posts: 16
File comments: 185
Uploads: 0
Just an annoying Bump to see if it may be possible to extend the /al nospam from 1 minute to maybe 5 or 10 mintues?

Thank you.
Report comment to moderator  
Reply With Quote
Unread 03-23-10, 08:42 AM  
jmcgrath
A Deviate Faerie Dragon
 
jmcgrath's Avatar

Forum posts: 16
File comments: 185
Uploads: 0
Love the addon - needs a ignore function so it wont repeat a whisper to the person if they readvertise within 5 mins maybe
Report comment to moderator  
Reply With Quote
Unread 03-10-10, 07:13 PM  
Resa1983
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 15
File comments: 13
Uploads: 1
Originally posted by tleilax
Hello,

I would like to have an option to increase the time (up from one minute) after your addon will spam the same person again. Too many people on my server just spam the trade each 2 minutes. I would like to raise it lets say to 10 minutes.

Any way? Can I just replace some code in lua?

Thanks for help.
I'd love to see this as well. I installed .3, and it auto-responded to someone, and I didn't have what they were looking for. 2 mins later they msg'd trade again looking for the tradeskill, and autolink msg'd them yet again. I'd love to see an option where we could set maybe a 5 or 10 min ignore..

I went looking through the code, however theres so many mentions of 'ignore' I couldn't find what I was looking for.
Report comment to moderator  
Reply With Quote
Unread 03-04-10, 05:02 PM  
ffxiedyn
A Chromatic Dragonspawn
 
ffxiedyn's Avatar

Forum posts: 165
File comments: 87
Uploads: 1
Very nice idea, but I would have to agree on one thing: needs to be refined a bit.

If even just 50 players on the same server use this addon and they are all online and in a city at the same time...

The people in trade chat who happen to have an innocent conversation about Blacksmithing back in vanilla wow...

Would recieve 50 auto whispers all at once just for discussing a profession, and not actually needing the profession O.o.

While I laughed four about a good minute and a half after realizing something like this could potentially happen, I am quite sure that if it DOES happen, the reciever of 50 auto whispers is not going to laugh as well and could very well call a GM instead =P
Last edited by ffxiedyn : 03-04-10 at 05:03 PM.
Report comment to moderator  
Reply With Quote
Unread 02-25-10, 06:53 PM  
tleilax
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hello,

I would like to have an option to increase the time (up from one minute) after your addon will spam the same person again. Too many people on my server just spam the trade each 2 minutes. I would like to raise it lets say to 10 minutes.

Any way? Can I just replace some code in lua?

Thanks for help.

"* Version 0.3 added a small measure of spam prevention. Any user that receives a link will be temporarily ignored for the rest of that minute. If this proves helpful I may expand on this and potentially add options to increase this time. This is based on the in-game time, so if someone sends a request at 08:05:59 and again at 09:06:01 they will receive a link both times, but not again until 09:07."
Last edited by tleilax : 02-25-10 at 06:54 PM.
Report comment to moderator  
Reply With Quote
Unread 02-23-09, 05:19 AM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 160
Uploads: 1
Other toons

Any chance it could cache a link to your alt's profession and provide those links with the name of the toon that it's associated with? Awesome mod btw.
Report comment to moderator  
Reply With Quote
Unread 02-22-09, 11:37 PM  
ogreinside
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
Originally posted by ßlink
would be nice if you could add a blacklist so it dosnt keep spaming ppl for a chant that i do not have. my temp fix is to /ignore them.
Thank for your feedback, I've added a couple of features that should help you here. First, v0.3 will only respond to a user once per minute for minor spam prevention. Second, you can now maintain a blacklist with "/al ignore". Please let me know if you have any other problems/suggestions.
Report comment to moderator  
Reply With Quote
Unread 01-31-09, 02:36 PM  
ßlink
A Deviate Faerie Dragon

Forum posts: 19
File comments: 50
Uploads: 0
would be nice if you could add a blacklist so it dosnt keep spaming ppl for a chant that i do not have. my temp fix is to /ignore them.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: