as you can clearly assume by looking at command (hotkeyuse), it uses item with hotkey, works with items that u only have to right click once (food, counting gold coins...).
If your stamina item works like RUNE or Potion, you should've just start with that when making this post...
Creature.ShootOn(:SelfID, !stamID)
If your stamina item works like RUNE or Potion, you should've just start with that when making this post...
Creature.ShootOn(:SelfID, !stamID)