Latrinsorm
11-22-2003, 03:46 AM
So I made what I thought was a pretty good script for grabbing stuff:
#grab stuff
put wear my greatshield
waitfor You sling
Back:
if_1 goto Grab
goto End2
Grab:
put get %1
put put %1 in my pack
match Shift You put a
match End Get what?
matchwait
Shift:
shift
goto Back
End:
put rem my greats
exit
End2:
wait 1
put rem my greats
exit
Works great for one thing. If I try to do two or more, however, sometimes the message for the first object's "You put a" triggers the match twice. At least that's what it looks like on the external. The end result is sometimes with two objects I won't remove my greatshield because of type ahead. With three objects, sometimes I won't even pick up the third object.
How do I fix it?
#grab stuff
put wear my greatshield
waitfor You sling
Back:
if_1 goto Grab
goto End2
Grab:
put get %1
put put %1 in my pack
match Shift You put a
match End Get what?
matchwait
Shift:
shift
goto Back
End:
put rem my greats
exit
End2:
wait 1
put rem my greats
exit
Works great for one thing. If I try to do two or more, however, sometimes the message for the first object's "You put a" triggers the match twice. At least that's what it looks like on the external. The end result is sometimes with two objects I won't remove my greatshield because of type ahead. With three objects, sometimes I won't even pick up the third object.
How do I fix it?