dialog version {
title "Version"
size -1 -1 306 155
edit "Enter the server or nickname:", 1, 10 12 290 60
edit "NOTE: If empty it will query the current server.", 2, 10 71 270 16, disable
edit "", 3, 8 92 290 22, autohs optional
button "&OK", 4, 142 124 76 23, ok
button "&Cancel", 5, 223 124 76 23, cancel
}
on *:dialog:version:{
if ($devent == sclick) && ($did == 4) { .raw version $did(3) }
}