|
xenapan Wanderer
Joined: 26 May 2004 Posts: 68
|
Posted: Wed Feb 06, 2008 1:01 am
doing a forall loop.. backwards? |
So im playing Project Bob and getting some really nice loot. I want to move it off to alts but its a pain typing in each item at a time. im storing different stuff on different chars.
Anyhow, so i set up a trigger to detect the findrand command output
#TR {%1 %2 %3.%4~% %5} {#additem passlist %1}
so thats all fine and dandy since it works to identify the correct position my items are in
Quote: |
Num Lvl Value Item Name Ener Affi Myst Magi
18 270 81.7% Sage's Dragoon Shield of the W --- --- 459 ---
19 267 69.8% a Full Moon Axe of Angelic Lig --- --- 392 ---
20 270 78.5% [+] Godly Nightblade Mesh Belt --- --- 441 ---
23 270 64.4% Warlord's Magician's Bracer of 87 --- --- ---
25 272 81.7% a lord's Isis Dagger of the Ma --- --- --- 459
27 271 64.4% Alchemist's Rune Staff of Wate 87 --- --- ---
28 270 60.0% Pyromaniac's Winged Helmet of 81 --- --- ---
32 273 78.5% Swashbuckler's Earth Torch of --- --- --- 441
34 180 57.8% Sleeper's Shadowknight Belt of 78 --- --- ---
35 278 80.1% [+] Arch Magi's Earth Torch of --- --- 450 ---
38 278 78.5% Pyromaniac's Earth Torch of th --- --- 441 ---
43 278 60.0% Deceptive torch of the Ancient --- --- 337 --- |
it generates the list of items i want perfectly.. but i cant get forall to work backwards. because as i pull from the top to the bottom, the items in the lower position move up as im passing stuff from the top out.
so basically i want to be able to do them in reverse order. eg 43, 38, 35, 34, 32 etc. while its giving me 18, 19, 20,23, 25 which basically means its moving all the wrong items after the first one.
i saw the post http://forums.zuggsoft.com/forums/viewtopic.php?t=29150 but couldnt find a spot to dowload msscript.ocx
so a fix for either would be really appreciated. |
|
_________________ Player on Realms of Despair. realms.game.org port 4000. Join us today! |
|
|
|
Dharkael Enchanter
Joined: 05 Mar 2003 Posts: 593 Location: Canada
|
Posted: Wed Feb 06, 2008 1:56 am |
To resolve your msscript.ocx problem download and install this
or that
It will (re)install your windows script host then JScript and VBScript should work correctly |
|
_________________ -Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Last edited by Dharkael on Wed Feb 06, 2008 2:00 am; edited 1 time in total |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Feb 06, 2008 1:56 am |
#LOOP %numitems(@List),1 {#SHOW Postion %i %item(@List,%i)}
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|