Script Editing : Custom Shadow Dancer Script

Bit of a script noobie here. How do I make a script to trigger sneaking not while I'm walking? Should I just set it to trigger only when I attack? It's to optimize the shadow dancer hide in plain sight.
0
Comments
See(NearestEnemyOf(Myself))
or
See([EVILCUTOFF])