/doevents problem

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

python023
a lesser mummy
a lesser mummy
Posts: 30
Joined: Sat Mar 27, 2004 12:26 pm

/doevents problem

Post by python023 » Sat May 15, 2004 9:10 pm

With the latest patch, i cant seem to switch between combines when i run out of an item. If oyu are out of an item, it says, "Sorry, you dont have enough of this item in your general inventory..." So when it does that, i have it move on to the next step. But it is not clicking at all, let alone on the spots i want it to. Please help
thanks
pyhton

Code: Select all

#Event nocomp1 "Sorry"
...
Sub Event_nocomp1
	
	/autoinv
	/if (${step}==1) {
		/delay 3
		/click left 500 364
		/varset step 2
	}
	/if (${step}==2) {
		/delay 3
		/click left 500 335
		/varset step 3
	}
	/if (${step}==3) {
		/delay 3
		/click left 500 350
		/varset step 4
	}
	/if (${step}==4) {
		/delay 3
		/varset step 1
		/call Sell
	}

/return

Mysteryman
a lesser mummy
a lesser mummy
Posts: 39
Joined: Wed Apr 14, 2004 4:11 pm

Post by Mysteryman » Sat May 15, 2004 9:44 pm

It changed..

You need to include more then the word "sorry" now in the event.

Something LIKE

#Event BlaBlah "Sorry, you dont have enough of this item in your #*#"

The #*# is just a wildcard saying.. anything here ( basicly ).

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sat May 15, 2004 9:48 pm

all ## are a wildcard, you use #*# if you want to ignore it, or #<number># if you want to keep it. Example...

Code: Select all

#event MyEvent "#1#blah blah blah#2#"

Sub_MyEvent(Line,One,Two)
/return
Line is the entire line, One is "1" and Two is "2".. whatever was in that spot anyway. Like he said, read the fuckin changes. check the stickied post in macro conversion forum. the readme.chm should also explain it.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0