Search found 6 matches

by fantasticpow
2008-07-28 19:41:51
Forum: Learn Scripting
Topic: Repeat Loops script?
Replies: 4
Views: 6160

so do I delete the line
For n
and take out the line
Next
by fantasticpow
2008-07-28 08:46:08
Forum: Learn Scripting
Topic: Repeat Loops script?
Replies: 4
Views: 6160

Here is a code I'm trying to repeat. It only run once.

sub Lootgold()
repeat
var i, n, box, tempname
Dim A[24]
A[1] = 0x0EED ;Gold Coins
A[2] = 0x0F85 ;Ginsengs
i = 2
box = 0x43EFAEAB
FOR n=1 TO 2
uo.findtype(A[n],"-1","lastcontainer"&#41 ...
by fantasticpow
2008-07-27 20:57:15
Forum: Learn Scripting
Topic: Repeat Loops script?
Replies: 4
Views: 6160

Repeat Loops script?

How do I make the script repeat itself, so I don't have to press short cut key to have it run everytime.

I tried putting repeat in the script, but when I run the script, it stops. I want it to keep running for a macro.
by fantasticpow
2008-07-26 05:21:08
Forum: Help
Topic: UO.press(key) key code?
Replies: 4
Views: 1440

awsome thank you, was having a hard time understanding lol

didn't realize it was that simple
by fantasticpow
2008-07-26 04:55:08
Forum: I need script!
Topic: Help is there a script for auto looting MULTI corpse?
Replies: 1
Views: 1026

Help is there a script for auto looting MULTI corpse?

I'm looking if theres a script or command to auto loot multiple corpses?

maybe something like this


sub All corpse opened()
UO.FindType('0x0EED',"-1",' allcorpse ')
If UO.FindCount() > 0 then
repeat
UO.Grab(0, "finditem")
UO.FindType('0x0EED',"-1",' allcorpse ')
until UO.FindCount ...
by fantasticpow
2008-07-25 22:43:11
Forum: Help
Topic: UO.press(key) key code?
Replies: 4
Views: 1440

UO.press(key) key code?

I don't understand how to do this.

I'm trying to set a short cut key to run the script.

I went to to keycode, and set it to F4 and I got 115 for a number.

but what is the command script to put 115 at?

can you give me example?

What line in the script do you put the key code?