Page 1 of 1

Insert into a waypoint one hotkey

Posted: Sun Oct 28, 2012 4:30 am
by Turbomuemmel
Hello
Excuse my English but I'll give effortless.

I would like the bot operated at a waypoint the hotkey 1

Krige but only error message

what I have to enter?

Thank you

Re: Insert into a waypoint one hotkey

Posted: Sun Oct 28, 2012 4:53 am
by lisa

Code: Select all

keyboardPress(key.VK_1)
that is the key above Q, if you want the numberpad 1 then you use

Code: Select all

keyboardPress(key.VK_NUMPAD1)

Re: Insert into a waypoint one hotkey

Posted: Sun Oct 28, 2012 5:54 am
by Turbomuemmel
Thanks before.

But I'll do something wrong.

Check out

[code]<?xml version="1.0" encoding="utf-8"?>
<waypoints>
<!-- # 1 --><waypoint x="-3753" z="-8588" y="216">; yrest(700); keyboardPress(key.VK_1);
</waypoints>[/code]

Re: Insert into a waypoint one hotkey

Posted: Sun Oct 28, 2012 6:04 am
by lisa

Code: Select all

<?xml version="1.0" encoding="utf-8"?> <waypoints>
<!-- # 1 --><waypoint x="-3753" z="-8588" y="216">
yrest(700) keyboardPress(key.VK_1)
</waypoints>
probably just that first ; that is causing the issue

Re: Insert into a waypoint one hotkey

Posted: Sun Oct 28, 2012 6:14 am
by rock5
Also no closing waypoint tag.

Code: Select all

<?xml version="1.0" encoding="utf-8"?> <waypoints>
    <!-- # 1 --><waypoint x="-3753" z="-8588" y="216">
        yrest(700) keyboardPress(key.VK_1)
    </waypoint>
</waypoints>

Re: Insert into a waypoint one hotkey

Posted: Sun Oct 28, 2012 6:18 am
by lisa
rock5 wrote:Also no closing waypoint tag.
actually yeah what rock said =)

for some reason I saw it as

Code: Select all

</waypoint>
and just assumed there were more waypoints.

Re: Insert into a waypoint one hotkey

Posted: Sun Oct 28, 2012 9:41 am
by Turbomuemmel
Thank you thank you

as far as it goes now

so now something else

Can I use the slot (1) in select gifbag with a commanding?

Re: Insert into a waypoint one hotkey

Posted: Sun Oct 28, 2012 7:00 pm
by lisa

Code: Select all

inventory:useItem(itemNameOrId)
just put in the name or the ID, if putting name then it obviously has to be a string inside " ", if ID then it is a number and no need for the " "