$iif($window($active).mdi,&Setup...):cset $iif(!$window($active).mdi,&Basic) .&Options...:nb .&Channel...:cset .&Networks...:nets .Dis&play...:display .- .&Userlist...:userlist .&Startup...:pstart .&DCC History:dcchistory .&Failed sends:resend -d .- .IRC &Debug ..$iif($window($debug),$style(1)) Send to &window:{ if ($debug) debug -c off else if ($input(Enter window name,1,Debug)) debug -npt $ifmatch } ..$iif($debug && !$window($debug),$style(1)) Log to &file:{ if ($debug) debug off else debug on $input(Enter a file name or cancel to use debug.log,1,Debug) } .- .&Backup...:backup .&Script maintenance...:scm .- .&Help:bhelp - &Join .&Specify...:if (#$input(Enter a channel to join,1,Join channel)) join $ifmatch .$submenu($_chn($1,$_network)) .&All channels:{ var %i = 1, %l = $_(recent,$+(channels.,$_network)) while ($gettok(%l,%i,32)) { j $ifmatch $_ckey($ifmatch) inc %i } } &Part .All channels:partall .$submenu($_woop($1)) - $iif($me !isop #,$style(2)) &Modes .$iif(#,#) ..$iif(t isin $chan(#).mode,$style(1)) Control &topic $chr(9) $_modechk(t):mode # $iif(t isin $chan(#).mode,-t,+t) ..$iif(s isin $chan(#).mode,$style(1)) &Secret $chr(9) $_modechk(s):mode # $iif(s isin $chan(#).mode,-s,+s) ..$iif(p isin $chan(#).mode,$style(1)) &Private $chr(9) $_modechk(p):mode # $iif(p isin $chan(#).mode,-p,+p) ..$iif(m isin $chan(#).mode,$style(1)) &Moderate $chr(9) $_modechk(m):mode # $iif(m isin $chan(#).mode,-m,+m) ..$iif(i isin $chan(#).mode,$style(1)) &Invite only $chr(9) $_modechk(i):mode # $iif(i isin $chan(#).mode,-i,+i) ..$iif(n isin $chan(#).mode,$style(1)) &No ext. msg's $chr(9) $_modechk(n):mode # $iif(n isin $chan(#).mode,-n,+n) ..$iif(l isin $chan(#).mode,$style(1)) &Limit... $chr(9) $_modechk(l):{ if (l isin $chan(#).mode) mode # -l elseif ($input(Enter a channel limit for # ,1,Channel Limit)) mode # +l $ifmatch } ..$iif(k isin $chan(#).mode,$style(1)) Set &key... $chr(9) $_modechk(k):{ if (k isin $chan(#).mode) mode # -k $chan(#).key elseif ($input(Enter a channel key for # ,1,Channel Key)) mode # +k $ifmatch } ..- ..$iif($chan(#).mode,Remo&ve current modes):mode # - $+ $right($chan(#).mode,-1) ..&Other...:{ var %m = $input(Enter modes for $chan ,1,Specify channel modes) if (%m) mode # $iif($left(%m,1) !isin +-,$+(+,%m),%m) } .&Global ..Control &topic $chr(9) +t ...&On:amode +t ...O&ff:amode -t ..&Secret $chr(9) +s ...&On:amode +s ...O&ff:amode -s ..&Private $chr(9) +p ...&On:amode +p ...O&ff:amode -p ..&Moderate $chr(9) +m ...&On:amode +m ...O&ff:amode -m ..&Invite only $chr(9) +i ...&On:amode +i ...O&ff:amode -i ..&No ext. msg's $chr(9) +n ...&On:amode +n ...O&ff:amode -n ..&Limit $chr(9) +l ...&On:if ($input(Enter limit,1,Global +l)) amode +l $ifmatch ...O&ff:amode -l ..Set &key $chr(9) +k ...&On:if ($input(Enter password,1,Global +k)) amode +k $ifmatch ...O&ff:amode -k ..- ..&Other...:if ($input(Enter global modes,1,Global modes)) amode $ifmatch .- .&Mass ..&Op:mop ..&Deop:mdop ..&Voice:mv ..D&evoice:mdv ..- ..&Kick (All):mk ..Kick&Ban (All):mkb &CTCP .&Ping:ctcp # ping .&Finger:ctcp # finger .&Version:ctcp # version .&Time:ctcp # time .- .&Other...:ctcp # $$input(Enter CTCP request to send to $active ,1,Channel CTCP) &Scans .&Clones:clonewin # .&Who list:whowin # .&Match...:if ($input(Enter search string to look for in # ,1,Address match)) match -w $ifmatch - &Away .Setup:{ _set scriptoptions lastselected 2 nb } .- .Set ..$iif($away,$style(2)) Away:_away ..$iif(!$away,$style(2)) Back:back .$iif(!$isfile(temp\away.log),$style(2)) Messages ..Read:readlog ..Delete...:remlog - $_kludge(&DALNet) $_kludge(&Undernet,2) - &Window - &Quit .&Current session...:if ($input(Enter quit message,1,Quit current IRC session)) quit .&All sessions...:if ($input(Enter quit message,1,Quit current IRC session)) aquit $ifmatch ; eof