on *:dialog:bnc_control:*:{
if ($did == 9) {
if (!%bnc.ip) || (!%bnc.port) || (!%bnc.nick) || (!%bnc.pass) { echo -a Kan ikke connecte. (Grund: Felter ikke fyldt ud) }
else {
connect %bnc.ip $+ : $+ %bnc.port
//set $me +x
}
elseif ($did = 10) {
set %bnc.ip $did(2)
set %bnc.port $did(3)
set %bnc.pass $did(7)
set %bnc.nick $did(4)
}
}
}
fejl :)?