According to the help file
Quote:
/did -ftebvhnmcukradiogjsl name id [n] [text | filename]

You can access the edit control in a combobox by using 0 as the N value


Presuming this worked correctly, I'm having a problem with this code. (Note: I think I have included more than necessary, and the code is written for someone that has IRCops Services Admin level on a network runnning UnrealIRCd)
Code:
dialog forbid {
  title "Forbidden Nicks/Channels"
  size -1 -1 475 420
  option pixels
  icon $scriptdirCanada.ico
  check "Nick/Channel", 1, 10 95 120 16, 3state push
  combo 2, 10 110 120 300, size edit
  text "Expires After", 3, 135 95 125 16, center
  combo 4, 135 110 125 300, size edit
  button "Close", 5, 10 10 75 25, ok
  button "Apply/Add", 6, 10 35 75 25
  button "Remove", 7, 10 60 75 25
  text "Time to be specified in valid time format", 8, 135 10 125 30, center
  text "Use 0 (zero) for No Expiry", 9, 135 40 125 15, center
  text "Reason", 10, 265 95 200 16, center
  combo 11, 265 110 200 300, size edit
  icon 12, 355 10 64 64,  $scriptdirFace.jpg, 0
  link "Russel Bairstow", 13, 275 15 75 16
  check "Auto-Check Time", 14, 135 55 100 16
  edit "3 hrs", 15, 135 73 100 21, right
}
on *:dialog:forbid:sclick:1:{
  if !$did(1).state {
    did -rb $dname 2,4,11
    did -ra $dname 1 Nick/Channel
  }
  elseif $did(1).state = 1 {
    did -re $dname 2,4,11
    did -ra $dname 1 Nick(s)
    .enable #forbidden_nicks
    .stats Q
  }
  else {
    did -re $dname 2,4,11
    did -ra $dname 1 Channel(s)
    .enable #forbidden_nicks
    .stats r
  }
}
#forbidden_nicks off
raw 304:*:{
  did -a forbid 2 $3
  did -a forbid 11 $7-
  haltdef
}
raw 217:*:{
  did -a forbid 2 $3
  did -a forbid 11 $7-
  haltdef
}
raw 219:*:{
  .disable #forbidden_nicks
  haltdef
}
#forbidden_nicks end
on *:dialog:forbid:sclick:2:{
  did -e $dname 7
  did $dname 11 0 $did(11,$did(2).sel)
}


What I'm wanting that to do, is take the line that has the reason and put it into the edit box of ID 11 when the related line in ID 2 is selected.

ie: If I click the 3rd line in ID 2, then the reason that's on the 3rd line of ID 11 should be posted in the edit box of ID 11 (the process of clicking the item in 2 automatically puts it into the edit box for ID 2)