I used to do this with the salts in ToMC long, long ago. I made my profit button as follows
Code:
<Data Name="Button5" Macro="target Parent.Target
do_file_commands raidcommand.txt" Tooltip="Target then raidcommand"/>
then in notepad I made
raidcommand.txt in the root eq2 folder (not the ProfitUI folder!) with the following
Code:
use_itemvdl 691299720
assist mainassistguy
and I'd replace
mainassistguy with whomever I wanted to switch back to assisting after salting. The advantage to this is that I could edit raidcommand.txt to change it even while the game was running. Thus, it would be easy to adjust it in run time to whatever item you want to use on the raidmember, and obviously you could replace "assist mainassistguy" with "target mobname" based on your needs for the particular fight.
use_itemvdl, at least when used in a
do_file_commands, has been slow enough to hit after the initial target change, at least for me.