Why, Rand? That's the *title* of his dialog, but not the name of it. The name is forbid.

The problem is in this code:
Code:
on *:dialog:forbid:sclick:2:{
  did -e $dname 7
  did $dname 11 0 $did(11,$did(2).sel)
}


Read the help for $did. You don't have a valid $did. Also, .sel returns a number, not text. .seltext is for text.

Code:
on *:dialog:forbid:sclick:2:{
  did -e $dname 7
  did -ra $dname 11 0 $did(2).seltext
}