Page 1 of 1

2 questions about bot possibilities:)

Posted: Tue Sep 07, 2010 5:53 pm
by Nebojsha
I have read wiki, and didn't find anything to match my desires. So, I need 2 things from bot atm.
1) is it possible for bot to press some button i want at a waypoint (in this case I would like numpad 8).
2) is there a command for bot to invite some1 to party? :)
Thanks in advance

Re: 2 questions about bot possibilities:)

Posted: Wed Sep 08, 2010 5:20 pm
by Administrator
Nebojsha wrote: 1) is it possible for bot to press some button i want at a waypoint (in this case I would like numpad 8).
In the waypoint script, you need to modify the script for that waypoint as follows:

Code: Select all

<waypoint x="0" z="0">
  keyboardPress(key.VK_NUMPAD8);
</waypoint>
2) is there a command for bot to invite some1 to party? :)
Thanks in advance
Same as above, for the most part.

Code: Select all

RoMScript("InviteByName('myOtherCharacter')");

Re: 2 questions about bot possibilities:)

Posted: Thu Sep 09, 2010 6:26 am
by Nebojsha
Thanks, any way to make it keep 8 pressed a bit? :) like for 1 sec or so?
Also what is script for leaving party (or is there an addon for it), because I want to make instance resterted after each run :D

Re: 2 questions about bot possibilities:)

Posted: Thu Sep 09, 2010 1:17 pm
by Administrator
Thanks, any way to make it keep 8 pressed a bit? :) like for 1 sec or so?

Code: Select all

keyboardHold(key.VK_NUMPAD8);
yrest(1000);
keyboardRelease(key.VK_NUMPAD8);
See the MicroMacro manual for more keyboard functions and examples.
Also what is script for leaving party (or is there an addon for it), because I want to make instance resterted after each run :D

Code: Select all

RoMScript("LeaveParty()");