Search found 13 matches

by Meeply
Thu Jun 14, 2018 7:15 am
Forum: MQ2::Help
Topic: Wiki info missing member
Replies: 3
Views: 558

Re: Wiki info missing member

Done. Sorry I didn't realize I had the rights to do so and didn't see the extra login when I did try first.
by Meeply
Mon Jun 11, 2018 5:57 pm
Forum: MQ2::Help
Topic: Wiki info missing member
Replies: 3
Views: 558

Wiki info missing member

The wiki is missing the member Endurance under datatype:item (as in ..Inventory.Item.?). It has HP and HPRegen, Mana and ManaRegen and EnduranceRegen but no Endurance as members. Since I needed this member I took a chance it was just missing in the documentation and used it anyway. Turns out I was r...
by Meeply
Sun Jun 10, 2018 4:15 am
Forum: MQ2::Macros::Help
Topic: Desired behavior in macro compiler?
Replies: 7
Views: 1120

Re: Desired behavior in macro compiler?

I'm still not sure what you are asking so I'll try to answer a couple of the questions. ( If you haven't read the manual that is a good place to start ) #1 You need to add #warning at the top of the macro. This will cause the macro to STOP if you have any undeclared variables. #warning #turbo 80 .....
by Meeply
Sun Jun 10, 2018 3:12 am
Forum: MQ2::Macros::Help
Topic: Desired behavior in macro compiler?
Replies: 7
Views: 1120

Re: Desired behavior in macro compiler?

Couple issues with the parser/interpreter (assuming these are interpreted) for macros. One of the errors I was having with my include file was due to unclosed comments |********************************** |* test.inc |********************************** Sub Test echo In Test /return I was thinking I w...
by Meeply
Sat Jun 09, 2018 9:06 pm
Forum: MQ2::Macros::Help
Topic: Desired behavior in macro compiler?
Replies: 7
Views: 1120

Re: Desired behavior in macro compiler?

Still stumped after many more hours. I'm trying things at random at this point. (I always hated when someone asked how do I fix this and someone else in my group said "Have you tried this yet?" Means they don't know, which at this point obviously I don't. Is the only way to debug this macr...
by Meeply
Sat Jun 09, 2018 6:11 pm
Forum: MQ2::Macros::Help
Topic: Desired behavior in macro compiler?
Replies: 7
Views: 1120

Desired behavior in macro compiler?

I started a macro shell so I wouldn't have to start from scratch each time with basic utilitarian examples. The top part of the main looks like this. #include meeply.inc #turbo 20 |: -------------------------------------------------------------------------------------------- |: SUB: Main |: --------...
by Meeply
Sun Jun 03, 2018 2:31 am
Forum: MQ2::Development::Feature Discussion
Topic: Curious why no do while flow control
Replies: 4
Views: 919

Re: Curious why no do while flow control

Thanks, was asking about do while loop where the condition is checked at the end of the loop instead of the beginning.
by Meeply
Sat Jun 02, 2018 5:15 pm
Forum: MQ2::Macros::Help
Topic: Litterals, strings and operators
Replies: 3
Views: 1622

Re: Litterals, strings and operators

I see code like that all the time and in one sub I was trying to save cycles but having to reevaluate Me.Class.Shortname part as just save it as a litteral. Then the comparisons should be more simple. I don't know how much faster (probably negligible) but less to evaluate using my var ShortName (a s...
by Meeply
Sat Jun 02, 2018 5:12 am
Forum: MQ2::Macros::Help
Topic: Litterals, strings and operators
Replies: 3
Views: 1622

Litterals, strings and operators

Just want to make sure I understand here. If I did something like /varset ShortName ${Me.Class.ShortName} /if (${ShortName} == "NEC") |** with or without the quotes **| the code will fail. When checking the wiki, I looked at operators and see the obvious == for equal but do not see which d...
by Meeply
Fri Jun 01, 2018 7:33 pm
Forum: MQ2::Development::Feature Discussion
Topic: Curious why no do while flow control
Replies: 4
Views: 919

Curious why no do while flow control

I noticed the addition of the /while loop flow control (I believe I was told @eqmule is to thank), kind of wondered why there is no corresponding do while loop for flow control. Is it a problem with parsing because all statements need a / in front to notate a command and /do { } while( condition) do...
by Meeply
Tue May 29, 2018 12:20 pm
Forum: MQ2::Development::Feature Discussion
Topic: Macro features - Trial balloon
Replies: 7
Views: 1059

Re: Macro features - Trial balloon

The :OnExit is perfect! Thank you.
Is there an OnPause?

FYI - Not authorized to read the forum that contains the manual.
by Meeply
Sat May 26, 2018 9:44 am
Forum: MQ2::Development::Feature Discussion
Topic: Macro features - Trial balloon
Replies: 7
Views: 1059

Re: Macro features - Trial balloon

The trial balloon was just an expression to see if it was worth while thinking about or if I was way off base. Clearly I still have a lot to learn about how the software works. You explanations help a great deal. Thank you. The OnPulse type functionality is what I am wondering about for the macro it...
by Meeply
Sat May 26, 2018 5:17 am
Forum: MQ2::Development::Feature Discussion
Topic: Macro features - Trial balloon
Replies: 7
Views: 1059

Macro features - Trial balloon

I don't see a better spot to post this in so here goes. I've been looking at macros for a bit now but I am pretty new here. This is not yet a feature request and I might wanna work on it myself if it doesn't exist and it sounds like a good idea to most folks. It seems there are issues with long runn...