alias -l ajwiz.add.channel {
var %i = $iif($1,$1,$input(Enter the name of a channel that you would like to add to the AutoJoin list. $+ $crlf $+ $crlf $+ (ie: #Funkytimes),eio,Create New Entry)), %c
if (%i) {
%c = $remove($iif($left(%i,1) == $chr(35),%i,$chr(35) $+ %i),$chr(32))
ajwiz.write Channels %c 1
ajwiz.write %c $+ Nets All 1
if ($dialog(ajwiz)) { ajwiz.load.channels }
}
}
menu menubar,status,channel {
AutoJoin Wizard
.$style($iif($group(#ajwiz).status == on,1)) Active:$iif($group(#ajwiz).status == on,.disable,.enable) #ajwiz
.-
.Configure:ajwiz
.-
[b] .$iif(#,Add This Channel):ajwiz.add.channel # | return $input(# added to the autojoin list successfully!,io,Channel Added)[/b]
}