This is the macro I had setup for assist:

/target focus
/follow
/assist
/stopcasting

Then I setup this macro to cast Lightning Bolt when my Warrior attacks:

/cast [target=focus, nodead, harm] Lightning Bolt

I believe that should work, I took it all from this page:

Macro's for New Multiboxers - A Quick Start Reference