Ok, so that solves that problem. What window are you planning on putting this button in? If you want to put it in the player window it will target you automatically when you click anywhere in the window, with one complication. I wrote an explanation when I was making a player window for someone here:
http://www.eq2interface.com/forums/s...ead.php?t=8066