You need a priority system, take action based on this priority list, highest on the list have priority.
Confront the enemy
Full attack
Assassinate
Rob
Escort
Devour
Hide
Terrorise
Make some valuable booty
Party
Warn of dangers
Use chance
Ask for more
Throw a coin
Look for coins
Set everything alight
Look for a better path
Carry on walking
Snoop
Smash everything
Mislead
Observe
Examine
Talk
Jump over it
Brave
Accept
Find fortune in misfortune
Vampire's gaze
Werewolf's howl
Shadow stride
Death aura
Investigate
Beguile
Soul devour
Enter forest
Enter the cavern
Step into the depths
Stay here
Rob city
Enter city
Tread the mountain path