Fake links on the fly

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

wpgxman
a lesser mummy
a lesser mummy
Posts: 46
Joined: Tue Aug 10, 2004 12:36 pm

Post by wpgxman » Fri Aug 13, 2004 1:59 am

duh

:oops:
Last edited by wpgxman on Wed May 18, 2005 5:58 pm, edited 4 times in total.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Fri Aug 13, 2004 2:58 am

What is there to compile? It's a fucking macro!
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Mimatas
a hill giant
a hill giant
Posts: 262
Joined: Wed Mar 10, 2004 4:22 pm

Post by Mimatas » Fri Aug 13, 2004 12:05 pm

heh. I can honestly say I'm not getting that.

You may want to take some time to learn the difference between a macro and a plugin. Yes, they are different.

1. Macro: a script (text file) that is executed by MQ using the /macro command. You do not compile these.

2. Plugin: A piece of C++ code that needs to be compiled into a DLL in order to be used by MQ.

Subtle, yet very important difference.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Fri Aug 13, 2004 12:28 pm

You didn't also mention that Macros are found in Forums like this one called "Macro Depot" while plugins are in Forums which include "plugin" in the title.

Anything below the Snippets forum is pretty much old, out of date and in dire need up updating before it will work.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

dok
a ghoul
a ghoul
Posts: 127
Joined: Mon Mar 15, 2004 3:38 pm

Post by dok » Fri Aug 13, 2004 12:58 pm

What might work a little better is if it accepted commands like this:

/mac fakelink /g This is normal Text. [This is linked text]

shouldn't be too hard to find all instances of [ and ] and replace with the code to link. Even if you did it one character at a time. Also, shouldn't need to specify the channels and such as you are with /docommand. Just have to trust the user to type an eq command.

If someone hasn't come up with something by tonight, I'll probably throw something together real quick.

EDIT: second thought, I'll probably throw it together as a plugin so it can be used while macros are running.

dok
a ghoul
a ghoul
Posts: 127
Joined: Mon Mar 15, 2004 3:38 pm

Post by dok » Fri Aug 13, 2004 3:37 pm

Had some free time, so made the plugin. posted in the public plugin section.

featherwood
orc pawn
orc pawn
Posts: 20
Joined: Sat Apr 10, 2004 4:29 am

Post by featherwood » Tue Aug 31, 2004 6:45 am

wardave wrote:2 bad it does work for a real item and then changing the name on it. Like having a head of a DE and putting the link to say your guild leaders name.
You can do it...

1) loot item
2) type ";<linktoitem>"
3) get the correct hash from the error message
4) replace the hash in this macro and that's all

Your link will really popup the linked item but the link will have the name you've chosen.

wiesshund
orc pawn
orc pawn
Posts: 24
Joined: Tue Nov 16, 2004 4:29 pm

Post by wiesshund » Tue Apr 26, 2005 1:52 am

type what where?
for example
;<Festive Doll>
?