Imax Macro question (I m so called unSTUCKED)
Posted: Sat Jul 10, 2010 3:02 pm
hi , ihad searched thrugh google n the forums but cant seem to get any hints or guide on this.
i am making a script for my char to enter the bonus stage , completing it and re enter again. I have a problem though hope u guys can help me out.
1) I use
keydown "Z"
sleep 2000
keyup "Z"
where Z is my looting key but my char only loots one box , how can I make it in such a way that my char will stand there and loot all the items there and then for a period of maybe 2seconds . So called it is like spamming key "Z".
2) I have a total of 56 gems. And i wish to stop the bot after 56 times . Which method should I use?? Is it the while and wend ?? or if method
Am I on the right track by saying
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
sleep 2000
a+1
if a<57
(All the content like moving to NPC , clicking him and enter the pq then start attacking is here)
else
sendkey "Maplestory", "ESC"
sendkey "Maplestory", "UP"
sendkey "Maplestory", "ENTER" (to exit maplestory)
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Appreciate in advance . Sry for poor English
i am making a script for my char to enter the bonus stage , completing it and re enter again. I have a problem though hope u guys can help me out.
1) I use
keydown "Z"
sleep 2000
keyup "Z"
where Z is my looting key but my char only loots one box , how can I make it in such a way that my char will stand there and loot all the items there and then for a period of maybe 2seconds . So called it is like spamming key "Z".
2) I have a total of 56 gems. And i wish to stop the bot after 56 times . Which method should I use?? Is it the while and wend ?? or if method
Am I on the right track by saying
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
sleep 2000
a+1
if a<57
(All the content like moving to NPC , clicking him and enter the pq then start attacking is here)
else
sendkey "Maplestory", "ESC"
sendkey "Maplestory", "UP"
sendkey "Maplestory", "ENTER" (to exit maplestory)
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Appreciate in advance . Sry for poor English