A couple questions about Macro syntax.

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

skysurf
a lesser mummy
a lesser mummy
Posts: 52
Joined: Fri Aug 15, 2003 1:54 am

A couple questions about Macro syntax.

Post by skysurf » Wed Aug 27, 2003 11:49 pm

While MQ is being re-built due to the recent Aug 6th patch, I think im gunna try to write my own script from scratch.

I only have one script, and its VERY unreadable and had some bugs I "tried" to fix, but in order to advance my skills, Im just gunna try to re-write it while MQ is on the re-build.

So anyway, here are my questions for now.

1. I have mainly been teaching myself Perl from books because I read that MQ has perl support. So is it safe to use Perl to write my script?

2. The manual for MQ is VERY old. What would be the best way for me to find all the MQ commands (if commands is the right word). Also, are all the commands in the manual still valid/functioning, or are there any that havent been functional and won't ever be functional again?

Well, I thought I had more questions, but they all kind of depends on the answer to the question I suppose.

Thank you in advance :)

Sky

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Thu Aug 28, 2003 12:10 am

I'm fairly certain PERL was removed.

skysurf
a lesser mummy
a lesser mummy
Posts: 52
Joined: Fri Aug 15, 2003 1:54 am

Post by skysurf » Thu Aug 28, 2003 12:16 am

DOH! What language should I use then for like comparison syntax, and so on and so forth?

I got books on about every language out there.

Sky

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Post by Curious » Thu Aug 28, 2003 12:59 am

No idea about the age of the MQ readme, but it covers it's language syntax pretty well. As for comparison, just use /if

Seems like these boards cover changes, broken commands and discontinued stuff pretty well. Sit down, start a pot of coffee and start reading ... no books necessary.

Doodman
a ghoul
a ghoul
Posts: 124
Joined: Thu Jan 02, 2003 12:07 pm

Post by Doodman » Fri Aug 29, 2003 10:49 am

Your best source for learning the lanuage of MQ is the macros that are already written.

Read through one and try commands that it is doing, you'll figure it our pretty quick.

The lanuage is not that hard, but I would not same it is like any other language but borrows from a lot of others. By digging in the code some, I've found that it appears it was impelemented from a "easy to parse" not an "easy to write" perspective.

A lot of things that you'd assume would work like other languages don't. Like nested /if's, nested (), etc.

Small price to pay, tho, for the functionality you do get.