Is that code not yours?, becuase if it was u should have been able to understand what i said and use it where u need.

Anyway with luck this would work, im not great with dialogs so im guessing the $did here

where u had
Code:
on *:dialog:dccbar:dclick:2: {
  /windows -x get
}

replace with
Code:
[code]on *:dialog:dccbar:dclick:2: {
  var %line = [color:blue]$did(dccbar,2,1).seltext[/color], %w = $+("Get $gettok(%line,2,9) $gettok(%line,1,9),") | if ($len(%w) <= 92) { window -x %w }
}


The blue section represents the selected line, so if i have that wrong u need to correct it.