Page 1 of 1

/doevents problem

Posted: Sat May 15, 2004 9:10 pm
by python023
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

Posted: Sat May 15, 2004 9:44 pm
by Mysteryman
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 ).

Posted: Sat May 15, 2004 9:48 pm
by Lax
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.