Heres alittle script i use with my dexxer when i pvp(im so bad i need to script it alittle:D)
I play on a restricted server with alot of fearures in uosteam disabled sadly, but this works quite good for me atleast 

It auto dissarms your wep, and drinks the appropriate potion.
Feel free to give advice to improve this if possible 

if @findlayer 'self' 2
  togglehands 'left'
  pause 600
endif
if not timerexists 'Heal Potion'
  createtimer 'Heal Potion'
endif
if poisoned 'self'
  // Cure potion
  usetype! 0xf07
endif
if stam < maxstam
  // Refresh potion
  usetype! 0xf0b
endif
if not yellowhits 'self'
  if diffhits >= 15 and timer 'Heal Potion' >= 10250
    // Heal potion
    if usetype! 0xf0c
      settimer 'Heal Potion' 0
    endif
  endif