ID:142767
 
SORTED
The second one fixes the proc definition. Your other problem is you're simply calling DblClick(); which is a proc of the BeamControl itself, so it's calling its own DblClick proc. Using Z.DblClick() should fix that.
In response to Devourer Of Souls
That worked, thanks =)