Dropping ore

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Thdin
Posts: 51
Joined: 2004-07-22 07:37:37

Dropping ore

Post by Thdin »

I made a simple script to drop all ore from my pack except for blackrock.

Code: Select all

sub Findore()

VAR Ores = '0x19B9'           

uo.findtype(Ores,-1,-1)
uo.click("finditem")
Wait(500)
If UO.InJournal("Blackrock")==0 Then
UO.Moveitem('finditem',-1,'ground')
endif

endsub


All I want to know is how to move the ore to the ground, or use ,drop to drop it.. :/

P.S.: It is now all fixed and works perfectly.
Last edited by Thdin on 2004-08-01 01:01:06, edited 1 time in total.
Thdin
Posts: 51
Joined: 2004-07-22 07:37:37

Post by Thdin »

Ok, I've found this isn't working. When I do a findtype, it sometimes finds the blackrock ore and drops that instead, even though the drop should only be made if the name is NOT "blackrock." Can anyone help?
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

where is delay for server to send text of ore name after click?
Thdin
Posts: 51
Joined: 2004-07-22 07:37:37

Post by Thdin »

Yoko you are my hero! All I had to do was add a Wait and it works perfect! :D

Before, I thought of doing this, but I could see that 'Blackrock' appeared in the journal, but never on screen (like next to the actual item you are clicking). It makes sense now. Thanks a lot!!
Post Reply