autolink.mac - Auto link storage/search - *New Parm Ready*

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Thu Jan 29, 2004 10:27 pm

Updated:

It will now store items with the same name but with different item ID's. lucid shard's are an example.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Thu Jan 29, 2004 10:42 pm

Updated:

Forgot to remove an /echo that I was using to debug. :)

ionsf
a ghoul
a ghoul
Posts: 94
Joined: Wed Jan 14, 2004 10:19 pm

Post by ionsf » Sat Jan 31, 2004 1:25 am

Sweeeet.. Thank you for filling my request.

ionsf
a ghoul
a ghoul
Posts: 94
Joined: Wed Jan 14, 2004 10:19 pm

Post by ionsf » Sat Jan 31, 2004 11:28 pm

I've noticed that with /tell ssearch keyword. That the bot returns only 1 link.. Any way to make it return them all?

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun Feb 01, 2004 1:16 am

I intentionally restricted it to one link. Think about this. If someone was monitoring your tells would someone really send like 6 links all in alphabetical order? Its just a bit of protection.

ionsf
a ghoul
a ghoul
Posts: 94
Joined: Wed Jan 14, 2004 10:19 pm

Post by ionsf » Sun Feb 01, 2004 1:18 am

Ahh ok cool. I was thinking that the ssearch would be bad enough though lol... I was thinking about asking to have ssearch removed when using the tells...

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun Feb 01, 2004 1:31 am

Well the problem is I'd have no way to know what it is you wanted to do if you got a tell from the master. They might just be sending you a tell to ask you what you are doing tonight. Then you'd reply back with links that were similar to "Hey what are you doing on?" hehe. Certainly we could make the "ssearch" a bit more ambiguous. Maybe like "Hey can you link me " or something like that.

ionsf
a ghoul
a ghoul
Posts: 94
Joined: Wed Jan 14, 2004 10:19 pm

Post by ionsf » Sun Feb 01, 2004 1:41 am

Very true. I was thinking of having the option to setup your own trigger... Such as that which you mentioned.

On the thing about returning only 1 thing.. I really would like to know how to make it return say 3 or 4 or even 10. your macro is massive and I am having trouble figuring out what to change to make it return more than 1 link.


Also. I am getting some errors on line 825... I'm gonna catch a log of it tonight and post it for ya.

mcswanbeck
a lesser mummy
a lesser mummy
Posts: 70
Joined: Fri Jan 16, 2004 5:16 am

Post by mcswanbeck » Sun Feb 01, 2004 5:03 pm

Using v1.15 and I can't get the /tell to work...or any other for that matter

I.e.
/echo ssearch zha
... will result in Zha's being send to the channel written in the macro

/echo ssearch zha /tell johndoe
... the search now results in [0] records... Have I missed anything?

The storing of links and all that still works... just not the /tell, /gu, /chat #channelname and those things...
/mcswanbeck

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun Feb 01, 2004 7:34 pm

Not sure what to tell you right offhand. I just logged on and tried it and it works. I'll take a better look at it and let you know if I find anything.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun Feb 01, 2004 7:49 pm

I just tested with Zaharn's Coronet to verify it wasn't a problem with items in the Z INI file and it seems to work fine as well. Are you sure you didn't typo your name in the ssearch or something?

Is anyone else having this problem with the latest version posted?

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Mon Feb 02, 2004 1:58 am

Updated:
You can now change the remote search phrase by changing this portion of the code:

Code: Select all

| --------------------------------------------------------------------------------------------------
| This is the command that you would need to precede a remote search from a master to do a search.  
| Change it to your unique word or phrase. (Do not end this with a space.)
| --------------------------------------------------------------------------------------------------
/varset RemotePhrase "Link me your"
You can also now change the maximum number of search results that get spit out when doing a search that is being sent via ssearch by changing this: (I wouldn't suggest going over 6.)

Code: Select all

| --------------------------------------------------------------------------------------------------
| Change this to the maximum number of search results that will be sent to your master.
| --------------------------------------------------------------------------------------------------
/varset RemoteSearchCount 3

mcswanbeck
a lesser mummy
a lesser mummy
Posts: 70
Joined: Fri Jan 16, 2004 5:16 am

Post by mcswanbeck » Mon Feb 02, 2004 2:57 pm

ml2517 wrote:Not sure what to tell you right offhand. I just logged on and tried it and it works. I'll take a better look at it and let you know if I find anything.
No need to... I'm the noob here :(

I was updating the autolink in the wrong running version of MQ, so I was still using an old autolink... My apologies...
/mcswanbeck

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Mon Feb 02, 2004 3:30 pm

Good heh. I was looking at the code and scratching my head trying to figure out why it was behaving like that for you. That makes sense.

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Mon Feb 02, 2004 4:53 pm

Off topic ...
was updating the autolink in the wrong running version of MQ
You can change the macroquest.ini to point to a shared network drive for the macros. Then you will only need to edit one place for all your MQ2 machines.

MacroPath=M:\MQ2\macros\
(above is example)

Using UltraEdit32 you can even have it save backup copys when you make changes so you can test macros easier...

Bob