Page 1 of 1

Script for drink potion

Posted: 2005-08-09 21:46:01
by Sisma
Can anyone post a script that drink a potion and rearm shield or weapon?
Thanks a lot

Posted: 2005-08-09 21:48:26
by Leo
With pleasure :wink:

Code: Select all

sub Drink() 
   UO.SetArm('Weapon') 
   wait(500) 
   UO.FindType('type','color',-1,'my') ;type and color of potion
   UO.UseObject('finditem') 
   wait(500) 
   UO.Arm('Weapon') 
end sub 

Posted: 2005-08-10 01:18:30
by flake

Code: Select all

UO.FindType('type','color', 'my') ;type and color of potion 
It is correct this way.