This HAS been tested and it works, using $iif wink
Code:
dialog first { 
  title "Your System Info" 
  size -1 -1 300 300 
  button "OK",1, 1 275 120 25, OK 
  button "List",6, 180 275 120 25, Default
  button "Play",13, 123 275 55 25, Default
  text "Your Ip Is",2, 1 1 100 25 
  edit "Ip Here",3, 1 15 100 20 
  check "Send To Current Window",14, 100 15 150 25,left
  text "Current Server",4, 1 33 100 25
  edit "Current Server",5, 1 45 100 20 
  check "Send To Current Window",15, 100 45 150 25,left
  text "Server Ip",7, 1 63 100 25
  edit "Server Ip",8, 1 75 100 20
  check "Send To Current Window",16, 100 75 150 25,left
  text "Server Port",9, 1 93 100 25
  edit "Server Port",10, 1 105 100 20
  check "Send To Current Window",17, 100 105 150 25,left
  text "Online Time",11, 1 123 100 25
  edit "Online Time",12, 1 135 100 20
  check "Send To Current Window",18, 100 135 150 25,left
} 
on *:dialog:first:sclick:6: {
  did -ra first 3 $ip
  did -ra first 5 $server
  did -ra first 8 $serverip
  did -ra first 10 $port
  did -ra first 12 $uptime(mirc, 2)
}
on *:dialog:first:sclick:13: {
  /msg $active $iif($did(first,14).state == 1,[IP: $ip $+ ], ) $iif($did(first,15).state == 1,[Current Server: $server $+ ], ) $iif($did(first,16).state == 1,[Server IP: $serverip $+ ], ) $iif($did(first,17).state == 1,[Server Port: $port $+ ], ) $iif($did(first,18).state == 1,[Online Time: $uptime(mirc,2) $+ ], )
}