my first script, basically it does the following:
when you see a criminal target
disassembles the mount
speaks all guard
casting invisible on you!
@Getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
if @findobject 'enemy'
useobject 'self'
msg "All Guard" Color
cast "Invisibility"
waitfortarget 15000
target! 'self'
pause '40000'
else
useobject 'mount'
cast "Invisibility"
waitfortarget 15000
target! 'self'
pause '100000'
endif