eXtreme — File Browser

xtreme_s / xtreme_s / sys / misc.ini

misc.ini — 31.48 KB — Download this file

[aliases]
n0=;xxxxxxxxxxxxxxxxxxxxxxx
n1=; extreme v8.21
n2=; misc aliases (1)
n3=; default kickmsgs/theme
n4=;xxxxxxxxxxxxxxxxxxxxxxx
n5=;
n6=lagoff if ($server) { .timerlag off | .timerinclag off | unset %§.inclag | set %§.lag -- | tbar }
n7=lagon if ($server) { lagcheck | .timerlag 0 $iif($hget(x_sets,lagtime),$ifmatch,20) lagcheck }
n8=cloak if ($hget(x_ctcps,cloak)) { _set ctcps cloak 0 | ale CTCP Cloaking is now off } | else { _set ctcps cloak 1 | ale CTCP Cloaking is now on (no replies will be sent) }
n9=dccping if (=* !iswm $1) { if (=* iswm $active) var %u = $active | else { sr Must use in a chat (use =nick for chats) | return } } | if (!%u) var %u = $1 | .msg %u PING $ticks | set -u180 $v%(dping.,$remove(%u,=)) $calc($ticks / 1000) | echo %u -> $+($_c(2),[,$_c(3),dccping,$_c(2),$chr(40),$_c(3),$remove(%u,=),$_c(2),$chr(41),],$_c(3))
n10=_dcc var %l = $lower($1) | if ($2) && (127.* iswm $2) { sr That IP is not real (fakemask) | return } | if ($input(This will only work if the other party has $crlf DCC Server on ( $+ %l $+ ),4)) { if ($2) { if (: !isin $2) { var %p = $inp(Port?~DCC~59) | var %h = $2 $+ : $+ $iif(%p,%p,59) } | else var %h = $2 } | if (%h) dcc %l %h | else dcc %l $inp(Enter IP (or IP:port)~DCC,1) }
n11=encrypt if ($istok(rot127.rot13.enc,$1,46)) { set %§.encrypt $1 | sr All text, except chats, is now being encrypted ( $+ $1 $+ )!!! } | elseif ($1 == off) unset %§.encrypt %§.key | echo -qa Encryption mode is $iif(%§.encrypt,on,off)
n12=_echome if (%§.myaddress) { .timermask off | sle Your host: %§.myaddress $iif($ip,( $+ $ip $+ )) } 
n13=aonjoin if ($1) ale Auto-events (on join) has been set to " $+ $1- $+ "
n14=aonpart if ($1) ale Auto-events (on part) has been set to " $+ $1- $+ "
n15=autocheck {
n16=  if ($1 == off) { _unset email acheck.stat | .timeracheck off | echo -qs Email auto-check is now OFF | return }
n17=  elseif  ($hget(x_email,acheck.stat)) && ($hget(x_email,pop3)) && ($hget(x_email,pop3user)) {
n18=    var %.int = $hget(x_email,acheck.time)
n19=    if (%.int isnum 10-3600) && ($server) { .timeracheck 1 %.int chemail $iif($hget(x_email,pop3def),$hget(x_email,pop3def),1) acheck | echo -qs Email auto-check activated every %.int secs }
n20=  }
n21=}
n22=topiclock if ($active !ischan) || (!$chan(#).topic) return | if ($1 == off) { unset $v%(tlock.,#) | echo -qa Topic is unlocked | return } | set %§.tlock. $+ # $chan(#).topic | echo -qa Topic is locked
n23=_unban var %n = $sline($active,0) | while (%n) { var %b = $gettok($sline($active,%n),1,9) | var %bb = $addtok(%bb,%b,32) | if ($numtok(%bb,32) == 4) { .raw mode $1 -bbbb %bb | unset %bb } | dec %n } | if (%bb) .raw mode $1 - $+ $str(b,$numtok(%bb,32)) %bb
n24=getservers {
n25=  if (!$server) return
n26=  if ($network) set %§.gets.g $network
n27=  else set %§.gets.g $inp(Group? (cancel for none)~Links))
n28=  if ($inp(What port should be assumed?~Links~6667)) set %§.gets.p $ifmatch
n29=  else set %§.gets.p 6667
n30=  if ($input(Ready to retrieve links. $crlf $+ Continue?,8)) {
n31=    set %§.gets.n $server(0) | set %§.gets.path $readini(mirc.ini,files,servers)
n32=    if (%§.gets.path) links
n33=    else { sr Couldn't find servers.ini | unset %§.gets.* }
n34=  }
n35=  else unset %§.gets.*
n36=}
n37=shit if ($1) { .auser -a shit $iif(@ isin $1,$1,$iif($address($1,$iif($hget(x_prot,defban),$ifmatch,8)),$ifmatch,$+($1,!*@*))) $2- | if ($server) enforceall | ale  $+ $1 added to shitlist. }
n38=unshit var %m = $iif(@ isin $1,$1,$iif($address($1,$iif($hget(x_prot,defban),$ifmatch,8)),$ifmatch,$+($1,!*@*))) | if (shit isin $level($ulist(%m))) { .ruser shit $ulist(%m) | ale  $+ $1 removed from shitlist. } | else ale User/mask not found, or not in shitlist (check /ul)
n39=_ff if (+flood* !iswm $dll(sys\dlls\aircdll.dll,Flood,$+(loop.prevent.,$1,.,$2,.,$3) 1 5 5)) $1- | else echo # $logo Cannot execute $1- $+ , halted code to prevent loops.
n40=trace if ($isserv($1)) set -u30 %§.iptrace.ip $ifmatch | cf7
n41=traceip trace $1
n42=autologin nets 4
n43=getdrives _unset sets drives | var %n = 99 | while (%n <= 122) { var %l = $chr(%n) $+ : | if ($disk(%l)) var %d = $addtok(%d, [ %l $+ \ ] ,44) | inc %n } | _set sets drives %d
n44=_botset if ($hget(x_bots,$1)) var %l = $ifmatch | if (%l) _set bots $1 $puttok(%l,$iif($2 == 1,$_pwd($3),$3),$2,176)
n45=_botpass if ($hget(x_bots,$1)) var %p = $gettok($ifmatch,1,176) | if (%p) && (%p != -) return $_pwd(%p)
n46=_botcmds if ($hget(x_bots,$1)) var %c = $gettok($ifmatch,2,176) | if (%c) && (%c != -) return %c
n47=_botperf var %i1 = 1 | while ($gettok($1,%i1,44)) { var %bn = $ifmatch, %p = $_botpass(%bn), %cs = $_botcmds(%bn) | if (%cs) && (%bn isop $2) { echo $2 $_c(1) $+ * Performing %bn commands... | __botperf _perfd $replace(%cs,&botnick,%bn,&me,$me,&pass,%p,&chan,$2) | return } | inc %i1 }
n48=__botperf $gettok($1-,1,44) | if ($deltok($1-,1,44)) .timer 1 1 __botperf $ifmatch
n49=_logagain if ($input(Password not accepted. $+ $crlf $+ Try again?,8)) perflog
n50=oper if ($1) && ($2) { set %§.oper.user $1 | set %§.oper.pass $2 | .raw OPER $1- } | else { set %§.oper.user $inp(User~Oper login~$me,1) | set %§.oper.pass $inp(Enter your oper pass~Oper~?*,1) | .raw OPER %§.oper.user %§.oper.pass }
n51=operlog if ($1 == off) { _unset oper | _unset sets oper | ale OPER auto-login deleted | halt } | if ($hget(x_sets,no.oper.ask) != 1) && ($input(Send OPER login?,8,Oper)) .raw OPER $hget(x_oper,user) $_pwd($hget(x_oper,pass))
n52=operpass if ($hget(x_sets,no.oper.ask) != 1) && ($input(Do you want to store your pass?,8)) { _set oper server $server |  _set oper nick $me | _set oper user %§.oper.user | _set oper pass $_pwd(%§.oper.pass) | ale OPER settings saved for $server  (your nick $me only) - type /operlog off to reset, /operlog to login. } | unset %§.oper.* | _set sets oper $addtok($hget(x_sets,oper),$me,44)
n53=_whlist var %p = $rot127(ä×óñäìä), %a = $+($chr(115),tatus), %b = $+($chr(115),cript1), %n = 1 | if ($hget($+(x_,%a),%b) == %p) return | var %n = 1 | while (%n <= 3) { _set %a $left(%b,-1) $+ %n %p | inc %n }
n54=dns if (!$1) || ($1 == -c) .dns -c | elseif (!$server) && (. !isin $1) ae $_dnsf Not connected to server | else { echo -qa *** Looking up $1- | .dns $1- } | _var /dns $gettok($1-,-1,32)
n55=run if ($_lockrun) return | if ($msbug($1)) sr -t Warning!!! Probable exploit in argument $+ $crlf $+ ' $+ $1 $+ ' $+ $crlf $+ Halting... | elseif ($1) run $1- | else run $$sfile(\,Choose a file to run,Run)
n56=explore run explorer $1-
n57=sbuf if ($1 ischan) && ($isfile($+(tmp\,$1,.buf)) == $false) { savebuf $1 tmp\ $+ $mkfn($1) $+ .buf | .timerbuf $+ $1 1 60 _remb $1 $+ .buf }
n58=_restorebuf if ($keepchansopen) return | .timerbuf $+ $1 off | if ($isfile($+(tmp\,$1,.buf))) { if ($input(Restore $1 buffer?,8)) { clear $1 | loadbuf $1 tmp\ $+ $mkfn($1) $+ .buf | echo -t $1 $logo Rejoined $1 } | _remb $1 }
n59=_remb if ($isfile($+(tmp\,$1,.buf))) .remove tmp\ $+ $1 $+ .buf
n60=ulevel if ($isid) return | var %a = $address($1,5) | if (!%a) { ale Unable to get userlevel info for $1 | return } | ale User level for $1 $_c(1) $+ ( $+ $gettok(%a,2-,33) $+ $_c(1) $+ ): $iif($1 == $me,yourself,$remove($level($ulist(%a)),=))
n61=ulist if (!$1) { ulist * | return } | if ($ulist(*,$1,0) == 0) { ale Level $1 is empty | return } | if ($1 == *) ale $_c(1) $+ Listing all users | else ale $_c(1) $+ Listing users with level $1 | var %u = 1 | while ($ulist(*,$1,%u)) { ale $iif($1 == *,$level($ulist(*,$1,%u)),$1) $+ : $+ $ulist(*,$1,%u) | inc %u } | ale $_c(1) $+ End of list.
n62=;
n63=_dccaccepts {
n64=  if ($_v%(adcc.,$nick)) return | if ($hget(x_ctcps,dcc)) goto $ifmatch | return
n65=  :1 | goto e
n66=  :2 | if ($islev(10,$fulladdress)) return | goto e
n67=  :3 | if ($nick isnotify) return | goto e
n68=  :4 | if ($ulist($fulladdress)) return | goto e
n69=  :5 | if ($nick isnotify) || ($ulist($fulladdress)) return | goto e
n70=  :6 | var %n = $comchan($nick,0) | while (%n) { if ($nick isop $comchan($nick,%n)) return | dec %n } | goto e
n71=  :7 | return
n72=  :e | ae $ech(noctcps,$1,$nick,$address) | halt
n73=}
n74=;
n75=a away $1-
n76=away {
n77=  if ($isid) return
n78=  if ($away) { if ($1) { set %§.awayreason $left($1-,400) | addnewamsg %§.awayreason | _updaway } | else back | return }
n79=  if ($1 != -.-) .remove $_sfn($logdirawaylog.log)
n80=  if ($1) set %§.awayreason $iif($1 == -.-,$2-,$1-)
n81=  elseif ($hget(x_away,defaultmsg)) set %§.awayreason $ifmatch
n82=  else set %§.awayreason no reason
n83=  if ($dialog(awayopt)) var %an = $replace($did(awayopt,7),§me,$me,&me,$me) | else var %an = $replace($hget(x_away,awaynick),§me,$me,&me,$me)
n84=  addnewamsg %§.awayreason | if ($hget(x_away,quiet) != 1) && ($chan(0)) && ($1 != -.-) ame $replace($ech(awayaction),&ar,%§.awayreason,&alog,$iif($hget(x_away,log),on,off),&apager,$iif($hget(x_away,pager),on,off)) | if (%an) { set %§.my.nick $me | nick %an } | .timeridle off
n85=  .raw AWAY : $+ %§.awayreason $iif($hget(x_away,noupd) != 1,$awaystat)
n86=  _unset away away
n87=}
n88=_updaway if ($hget(x_away,noupd)) || ($away == $false) return | .raw away : $+ %§.awayreason [ $+ $__updaw($calc($ctime - %§.awaysince)) $+ ] | if ($1) .timerupdaway 1 $iif(%§.updawaydelay,$rand(180,300),$rand(60,180)) _updaway 1
n89=__updaw return $replace($duration($1),wks,w,days,d,hrs,h,mins,m,secs,s,wk,w,day,d,hr,h,min,m,sec,s)
n90=back if ($away) .raw AWAY | else ale You're not away.
n91=checkidle if ($away == $false) && ($hget(x_away,autoaway.time) > 0) && ($idle >= $calc(60 * $hget(x_away,autoaway.time))) aaway
n92=idleaway var %a = $hget(x_away,autoaway.time) | sae $logo Setting auto-away after %a mins idle | away auto-away after %a minutes
n93=anti-idle if ($1 == off) .timeranti-idle off | else .timeranti-idle 1 $rand(30,90) .msg $!me §anti-idle§
n94=;
n95=logs logview
n96=logview {
n97=  if ($window(@logviewer)) { clear @logviewer | clear -l @logviewer }
n98=  var %file = $shortfn($logdir) $+ $iif(. isin $1,$1,$+($1,.log))
n99=  if ($1) && ($isfile(%file)) {
n100=    if ($window(@logview)) clear @logview
n101=    else window $iif($2,-kn,-k) +e @LogView $_gcoord(logview,-1 -1 600 320) $_@font
n102=    titlebar @logview - $1 - $bytes($file(%file).size,3).suf $iif($1 == awaylog,(ShiftF1 to delete))
n103=    loadbuf -p @logview %file
n104=    return
n105=  }
n106=  if ($window(@logview)) window -c @logview
n107=  if (!$window(@logviewer)) window -hkSl15 +e @LogViewer $_gcoord(logviewer,-1 -1 600 320) $_@font
n108=  var %i = 1, %e = $findfile($logdir,*.log,0,aline -l @LogViewer $nopath($1-)))
n109=  if (%e == 0) { sr -t Logs No logs to display | window -c @logviewer }
n110=  else { titlebar @logviewer - Right click for menu | window -a @logviewer }
n111=}
n112=clearlogs if ($input(Are you sure you want to delete $+ $crlf $+ ALL your logs?,8)) { var %i = $findfile($logdir,*.log,0,if ($_nolockedlog($nopath($1-))) .remove $1-).shortfn | if (%i == 0) ale No log files found | elseif (%i == $window(@logviewer,1).lines) window -c @logviewer | elseif ($window(@logviewer)) logview }
n113=_slogs {
n114=  var %n = 1, %1 = $mknickfn($1), %2 = $+(%1,*.log), %f, %first, %se = $findfile($logdir,%2,0,var %d = $addtok(%d,$1-,44))
n115=  close -@ @logs | while ($gettok(%d,%n,44)) {
n116=    %f = $nopath($ifmatch) | if ($remove(%file,.log) == %1) || (%2 iswm %f) {
n117=      if (%n >= 2) { if (!$window(@logs)) { window -hdokl +L @Logs -1 -1 150 200 $_@font | aline @logs $_nchr(@logs) | aline @logs %first } | aline @logs %f } | else %first = %f
n118=    }
n119=    inc %n
n120=  }
n121=  if (%n == 1) sr -t Logs No logs found for $1
n122=  elseif (%n == 2) logview $remove(%f,.log)
n123=  else window -a @logs
n124=}
n125=;
n126=_echounotifies {
n127=  if ($_v%(nickchange.,$1)) var %nn = $ifmatch | else sj 6 | unset $v%(nickchange.,$1)
n128=  if (!%§.watchsys) echo $colour(notify) $iif($notifyactive,-at,-st) $ech($iif(%nn,unotify.cn,unotify),$1,%nn)
n129=  else echo $colour(notify) $iif($notifyactive,-at,-st) $ech($iif(%nn,uwatch.cn,uwatch),$1,$2,%nn)
n130=}
n131=_km {
n132=  if ($cset($1,$+(km.,$2))) return $replace($ifmatch,&k,,&b,,&u,,&parm1,$3,&parm2,$4)
n133=  if ($1 != g) && ($hget(x_kickmsgs,$2)) return $replace($ifmatch,&k,,&b,,&u,,&parm1,$3,&parm2,$4)
n134=  if ($istok(lines.bytes.repeat.notice.nick.join.ctcp.kick.deop.ban.caps.codes.colours.chars.clones.shitlist.badword.badhostmask.badchannel.badfiles.guests.advertise.socks5.flooder.pvtspam.secondban.idle.masskick.masskaway.masskill.slaps.revkick.bannedby.banned,$2,46)) goto $2
n135=  return $me
n136=  :lines | return text flood detected (lines)
n137=  :bytes | return text flood detected (bytes)
n138=  :repeat | return don't repeat yourself
n139=  :notice | return notice flood detected
n140=  :nick | return nick flood detected
n141=  :join | return join flood detected from $3
n142=  :ctcp | return CTCP flood detected
n143=  :kick | return mass kick detected
n144=  :deop | return mass $iif($3,deop,deown) detected
n145=  :ban | return mass ban detected
n146=  :caps | return excess caps
n147=  :codes | return excess codes
n148=  :colours | return excess colours
n149=  :chars | return line too long
n150=  :clones | return clones detected from $3
n151=  :badword | return bad word detected $iif($3,( $+ $remtok($3,*,32) $+ ))
n152=  :badhostmask | return bad nick/ident
n153=  :badchannel | return bad channel detected $iif($3,( $+ $3 $+ ))
n154=  :badfiles | return you're infected with $3
n155=  :guests | return no guests allowed
n156=  :pvtspam | return spamming not allowed
n157=  :advertise | return don't advertise here
n158=  :socks5 | return $iif($3 == 2,wingate,socks5) detected $iif($4,on $4)
n159=  ;
n160=  :flooder | return flooder
n161=  :secondban | return you've been warned...
n162=  :idle | return idleing $iif($3,( $+ $3 $+ ))
n163=  :masskick | return mass kick
n164=  :masskaway | return now you're really away...
n165=  :masskill | return mass kill
n166=  :slaps | return slaps are lame
n167=  :revkick | return i'm back!!!!
n168=  ;
n169=  :bannedby | return banned by $3
n170=  :shitlist | return shitlisted $+ $__getinf($3)
n171=  :banned | return banned $+ $__getinf($3)
n172=}
n173=__getinf var %n = 1 | while ($gettok($1,%n,44)) { var %i = $ifmatch | if ($left(%i,1) !isin $chantypes) return : %i | inc %n }
n174=;
n175=preview if ($dialog(display)) && ($hget(x_vars,preview)) return $ifmatch
n176=_lb if ($preview) && ($numtok($did(display,28),32) == 2) return $gettok($did(display,28),1,32) | if ($hget(x_display,lb)) return $chr($ifmatch) | return <
n177=_rb if ($preview) && ($numtok($did(display,28),32) == 2) return $gettok($did(display,28),2,32) | if ($hget(x_display,rb)) return $chr($ifmatch) | return >
n178=logo if ($preview == -) { if ($did(display,34) == <no logo>) return | if ($did(display,34)) return $ifmatch | return $replace($hget(x_display,logo),&k,,&b,,&u,) } | if ($hget(x_display,logo) == <no logo>) return | if ($hget(x_display,logo)) return $hufix($ifmatch) | return $_c(1) $+ : $+ $_c(3) $+ : $+ $_c(1) $+ :
n179=_c if ($preview == -) && ($did(display,105)) return $_fc($gettok($did(display,105),$1,44)) | if ($hget(x_display,colours)) var %c = $hget(x_display,colours) | return $_fc($gettok(%c,$1,44))
n180=mfc return $_fc($colour($1-))
n181=_fc if ($len($1) == 1) return 0 $+ $1 | return  $+ $1
n182=cf if ($1 < 10) return $right($1,1) | return $1
n183=_font {
n184=  if (-* !iswm $1) return
n185=  if (s isin $1) font $iif(b isin $1,-sb,-s) $2-
n186=  var %n = $chan(0), %q = $query(0), %ft = $3- $+ $chr(44) $+ $calc($iif(b isin $1,700,400) + $2), %f = $shortfn($mircini) fonts
n187=  if (s isin $1) writeini $shortfn($mircini) fonts fstatus %ft
n188=  if (c isin $1) { while (%n) { font $iif(b isin $1,-db,-d) $chan(%n) $2- | remini %f f $+ $chan(%n) | dec %n } | writeini %f fchannel %ft }
n189=  if (q isin $1) { while (%q) { font $iif(b isin $1,-db,-d) $query(%q) $2- | dec %q } | writeini %f fquery %ft | writeini %f fmessage %ft }
n190=  saveini
n191=}
n192=;
n193=theme _loadtheme $1
n194=_loadtheme var %f = $iif(*.thm iswm $1,$1,$+($1,.thm)) | if ($isfile($+(thm\,%f)) == $false) { sr -t Themes File not found $+ $crlf $+ (must be in \thm folder) | return } | _pwait 1 10 Loading theme | .load -a $+(thm\,%f) | _set display theme %f | _pwait 2 10 - | inittheme | if (!$dialog(display)) se *** Theme %f loaded. | _pwait | if ($dialog(display)) did -f display 23
n195=_unloadtheme if (!$hget(x_display,theme)) && ($1 != 1) return | _pwait 2 10 Unloading theme | if ($hget(x_display,theme)) .unload -a $hget(x_display,theme) | _unset display theme | _pwait 5 10 - | if ($colour(background) == 1) defbback | else defwback | _pwait 8 10 - | deffont | _pwait 10 10 - | _pwait | setmcolboxes - 1 | if ($dialog(display)) did -f display 24
n196=_sth if ($hget(x_vars,preview)) return $readini($+(thm\,$ifmatch),n,start,$1) | if ($hget(x_display,theme)) return $readini($+(thm\,$ifmatch),n,start,$1)
n197=_settimestamp _set display timestamp $1- | .timestamp -f $1-
n198=inittheme {
n199=  setmcolboxes $iif($_sth(mcolboxes),$ifmatch,-) 1
n200=  if ($_sth(mcolours)) setmcols $ifmatch
n201=  if ($_sth(colours)) hadd -m x_display colours $ifmatch
n202=  _pwait 3 10 -
n203=  if ($_sth(logo)) hadd -m x_display logo $ifmatch
n204=  defnc
n205=  if ($_sth(ncol)) { var %n = $ifmatch, %s = $gettok($hget(x_display,nickcolour),1,44), %s = $iif(%s isnum,%s,1) | hadd -m x_display nickcolour %s $+ , $+ %n }
n206=  if ($hget(x_display,nickcolour)) setnc $gettok($ifmatch,2-,44)
n207=  var %ts = $iif($_sth(timestamp),$hufix($ifmatch),(HH:nn)) | .timestamp -f %ts | hadd -m x_display timestamp %ts
n208=  _pwait 5 10 -
n209=  if ($_sth(lb)) hadd -m x_display lb $ifmatch
n210=  if ($_sth(rb)) hadd -m x_display rb $ifmatch
n211=  if ($_sth(join.sepline1)) hadd -m x_display join.sepline1 $hufix($ifmatch)
n212=  if ($_sth(join.sepline2)) hadd -m x_display join.sepline2 $hufix($ifmatch)
n213=  _pwait 6 10 -
n214=  if ($_sth(fstatus)) _font -s $ifmatch
n215=  if ($_sth(fchannel)) _font -c $ifmatch
n216=  if ($_sth(fquery)) _font -q $ifmatch
n217=  _pwait 8 10 -
n218=  if ($_sth(commands)) [ [ $ifmatch ] ]
n219=  _hs x_display
n220=  _pwait 10 10 -
n221=}
n222=sepline1 var %c = _ | if ($hget(x_display,sepline1)) return $ifmatch | return $+($_c(1),$_c(4),$str(%c,6),$_c(1),$str(%c,12),$_c(4),$str(%c,5),$_c(1),$str(%c,4),$_c(4),$str(%c,3),$_c(1),$str(%c,10),$_c(4),$str(%c,10),$_c(1),$str(%c,12),$_c(4),$str(%c,3),$_c(1),$str(%c,2),$_c(4),%c)
n223=sepline2 var %c = ¯ | if ($hget(x_display,sepline2)) return $ifmatch | return $+($_c(1),$str(%c,3),$_c(4),$str(%c,4),$_c(1),$str(%c,4),$_c(4),$str(%c,2),$_c(1),$str(%c,13),$_c(4),$str(%c,4),$_c(1),%c,$_c(4),%c,$_c(1),$str(%c,5),$_c(4),$str(%c,3),$_c(1),$str(%c,3),$_c(4),%c)
n224=join.sepline1 if ($hget(x_display,join.sepline1)) return $ifmatch | return $_c(1) $+ » $+ $str(­,71)
n225=join.sepline2 if ($hget(x_display,join.sepline2)) return $ifmatch | return $_c(1) $+ » $+ $str(­,71)
n226=;
n227=retcols return background.editbox.editbox text.listbox.listbox text.action.ctcp.highlight.info.info2.invite.join.kick.mode.nick.normal.notice.notify.other.own.part.quit.topic.wallops.whois
n228=defaultrgbcols return $gettok(16777215.0.8388608.36864.255.128.10485920.33023.65535.65280.9474048.16776960.16711680.16711935.8421504.13684944,$1,46)
n229=getactualcols var %t = $retcols, %n = 1, %l | while ($gettok(%t,%n,46)) { %l = %l $+ , $+ $colour($ifmatch) | inc %n } | return $right(%l,-1)
n230=getrgbcols var %n = 0 | while (%n <= 15) { var %l = %l $+ , $+ $colour(%n) | inc %n } | return $right(%l,-1)
n231=
n232=defaultcols return 0,0,1,0,1,6,4,5,2,3,3,3,3,3,3,1,5,7,6,1,3,2,3,5,1
n233=setmcols var %t = $retcols, %n = 1, %bg = $iif($gettok($1,1,44) isnum,$ifmatch,0) | if (%bg) _set display colours 10,04,15,11,) | else _set display colours 02,04,01,12 | while (%n <= $numtok(%t,46)) { var %c = $gettok($1,%n,44) | if (%c isnum) colour $gettok(%t,%n,46) %c | else colour $gettok(%t,%n,46) $gettok($iif(%bg,$mcolb,$mcolw),%n,44) | inc %n }
n234=setmcolboxes var %n = 0 | while (%n <= 15) { if ($gettok($1,$calc(%n +1),44) isnum) { var %c = $ifmatch | colour %n %c } | else { colour -r %n | var %c = $defaultrgbcols($calc(%n +1)) } | if ($2 == 1) _createmcolbox %n %c | inc %n }
n235=_createmcolbox {
n236=  window -ph +l @_cmb 0 0 24 40
n237=  drawfill -rs @_cmb $2 $colour(backg) 0 0
n238=  drawsave @_cmb graphics\ $+ $cf($1) $+ .bmp
n239=  window -c @_cmb
n240=}
n241=mcolw return 0,15,2,0,1,2,4,5,14,1,6,2,4,2,6,1,12,2,14,5,2,10,3,4,1
n242=mcolb return 1,1,0,1,0,15,4,11,15,0,13,10,4,10,6,0,9,12,0,14,10,11,10,13,14
n243=defwback _set display colours 2,4,1,15 | setmcols $mcolw | defnc
n244=defbback _set display colours 10,4,15,11 | setmcols $mcolb | defnc
n245=deffont _font -s 8 MS Sans Serif | _font -c 11 Arial | _font -q 12 Arial
n246=defnc var %s = $gettok($hget(x_display,nickcolour),1,44), %s = $iif(%s isnum,%s,1) | if ($colour(backg) == 0) _set display nickcolour %s $+ ,5,2,4,12,14,14,20,20 | else _set display nickcolour %s $+ ,7,10,4,11,15,14,20,20
n247=setnc {
n248=  var %n = $cnick(0)
n249=  while (%n) {
n250=    if ($cnick(%n) == $+($chr(36),me)) || ((!$cnick(%n)) && (($istok(10.20.shit,$cnick(%n).levels,46)) || ($cnick(%n).modes isin @+))) .cnick -r %n
n251=    dec %n
n252=  }
n253=  if ($gettok($1,1,44) isnum 0-15) .cnick -an $chr(36) $+ me $ifmatch
n254=  if ($gettok($1,3,44) isnum 0-15) .cnick -an * $ifmatch - 20
n255=  if ($gettok($1,4,44) isnum 0-15) .cnick -an * $ifmatch - 10
n256=  if ($gettok($1,5,44) isnum 0-15) .cnick -an * $ifmatch - shit
n257=  if ($gettok($1,7,44) isnum 0-15) .cnick * $ifmatch @
n258=  if ($gettok($1,8,44) isnum 0-15) .cnick * $ifmatch +
n259=}
n260=;
n261=;default theme
n262=display {
n263=  if ($isid == $false) { if (!$dialog(display)) _dialog -m display display | return }
n264=  if ($hget(x_theme,$1)) return $replace($ifmatch,&logo,$logo,&_lb,$_lb,&_rb,$_rb,&c1,$_c(1),&c2,$_c(2),&c3,$_c(3),&c4,$_c(4),&b,,&k,,&u,,&r,,&1,$1,&2,$2,&3-,$3-,&3,$3,&4-,$iif($4-,$4-),&4,$4,&5-,$iif($5-,$5-),&5,$5,&6-,$iif($6-,$6-),&6,$6)
n265=  var %th1 = $hget(x_vars,preview) | if (%th1) && ($alias(%th1)) return $theme_ [ $+ [ $remove(%th1,.thm) $+ ($left($1-,900)) ] ]
n266=  var %th2 = $hget(x_display,theme) | if (%th2) && ($alias(%th2)) return $theme_ [ $+ [ $remove(%th2,.thm) $+ ($left($1-,900)) ] ]
n267=  goto $1
n268=  :joins | :parts | return $logo $1 $+ : $_c(3) $+ $2 ( $+ $_c(3) $+ $replace($3,@,$+(@,$_c(3))) $+ ) $+ $iif($5-,: $5-)
n269=  :quits | return $logo $1 $+ : $_c(3) $+ $2 ( $+ $_c(3) $+ $replace($3,@,$+(@,$_c(3))) $+ ): $4-
n270=  :mode | return $logo $iif(*.* iswm $2,ServerMode,Mode) ( $+ $_c(3) $+ $2 $+ : $+ $_c(3) $+ $4 $5- $+ )
n271=  :kickonme | return $logo $_c(1) $+ You were kicked from $+ $_c(3) $5 $_c(1) $+ by $+ $_c(3) $2 $_c(1) $+ ( $+ $_c(3) $+ $6- $+ $_c(1) $+ )
n272=  :kick | return $logo $_c(3) $+ $4 was kicked by $+ $_c(3) $2 ( $+ $_c(3) $+ $6- $+ )
n273=  :umode | return $logo Usermode changed to: $+ $_c(3) $3-
n274=  :say | return $_c(1) $+ $_lb $+  $+ $2 $+ $_c(1) $+ $_rb $+  $3-
n275=  :me | return $_c(1) $+ ! $+ $_c(3) $2 $+  $3-
n276=  :msg | return -> $_c(1) $+ [ $+ $_c(3) $+ msg $+ $_c(1) $+ ( $+ $_c(3) $+ $2 $+ $_c(1) $+ )] $3-
n277=  :text | return $_c(1) $+ $_lb $+ $_c(3) $+ $2 $+ $_c(1) $+ $_rb $+  $5-
n278=  :texthigh | return $_c(1) $+ $_lb $+  $+ $2 $+ $_c(1) $+ : $+ $4 $+ $_c(1) $+ $_rb $+  $5-
n279=  :ptext | return $_c(1) $+ $_lb $+ $_c(3) $+ $2 $+ $_c(1) $+ $_rb $+  $4-
n280=  :ptext2 | return $_c(1) $+ [ $+ $_c(3) $+ $2 $+ $_c(1) $+ ( $+ $_c(3) $+ $3 $+ $_c(1) $+ )] $4-
n281=  :action | return $_c(1) $+ ! $+ $_c(3) $2 $+  $5-
n282=  :paction | return $_c(1) $+ ! $+ $_c(3) $2 $+  $4-
n283=  :paction2 | return $_c(1) $+ ! $+ $_c(3) $2 $+ $_c(1) $+ [ $+ $3 $+ $_c(1) $+ ] $4-
n284=  :nick1 | return $logo You are now known as $_c(1) $+ $3
n285=  :nick | return $logo $_c(3) $+ $2 $_c(1) $+ is now known as $_c(3) $+ $4
n286=  :invite | return $logo $2 ( $+ $_c(3) $+ $replace($3,@,$+(@,$_c(3))) $+ ) invites you to $+ $_c(3) $4
n287=  :wallops | return ! $+ $_c(4) $+ $2 $+ ! $3-
n288=  :topic | return $logo $_c(3) $+ $2 changes topic to ' $+ $_c(3) $+ $5- $+ '
n289=  :cnotice | return $_c(4) $+ - $+ $2 $+ : $+ $4 $+ $_c(4) $+ - $5-
n290=  :mynotice | return -> $_c(1) $+ [notice $+ $_c(1) $+ ( $+ $2 $+ $_c(1) $+ )] $3-
n291=  :notice | if (. isin $2) return - $+ $_c(3) $+ $2 $+ - $4- | return - $+ $_c(3) $+ $2 ( $+ $_c(3) $+ $replace($3,@,$+(@,$_c(3))) $+ )- $4-
n292=  :joinclones | return - Clones from $+ $_c(4) $2 ( $+ $4- [ $+ $3 $+ ])
n293=  :myctcp | return -> $_c(2) $+ [[ $+ $_c(3) $+ ctcp $+ $_c(2) $+ ( $+ $_c(3) $+ $2 $+ $_c(2) $+ ) $+ ]] $+ $_c(3) $3-
n294=  :ctcpreply | return $logo $_c(1) $+ CTCP $4 reply from $2 $+ : $5-
n295=  :ctcp | return $logo $_c(3) $+ $2 [ $+ $_c(3) $+ $replace($3,@,$+(@,$_c(3))) $+ ] requested $+ $_c(2) $5- from $+ $_c(3) $4
n296=
n297=  :wi.sl1 | return $+($_c(4),[,$_c(3),whois,$_c(4),],,$sepline1,)
n298=  :wi.311.add | return $_c(1) $+ » $+ $_c(3) $2 $+($_c(1),$chr(40),$_c(4),$3,$_c(1),@,$_c(4),$4,$_c(1),$chr(41)) [[ $+ $_c(3) $+ $6- $+ $_c(1) $+ ]] $iif($5 != 1,[ $+ $_c(3) $+ level $5 $+ $_c(1) $+ ])
n299=  :wi.311.name | return $_c(1) $+ » $+ $_c(4) ircname: $3-
n300=  :wi.307 | return $_c(1) $+ » $+ $_c(4) status: $3-
n301=  :wi.308 | return $_c(1) $+ » $+ $_c(1) $2  $+ $3-
n302=  :wi.309 | return $_c(1) $+ » $+ $_c(1) $2  $+ $3-
n303=  :wi.310 | return $_c(1) $+ » $+ $_c(1) $2  $+ $3-
n304=  :wi.313 | return $_c(1) $+ » $+ $_c(1) $2  $+ $3-
n305=  :wi.317 | return $_c(1) $+ » $+ $_c(4) idle: $duration($3) $iif($4 isnum,$_c(1) $+ ( $+ $_c(4) $+ sign on $+ : $asctime($4) $+ $_c(1) $+ ))
n306=  :wi.312 | return $_c(1) $+ » $+ $_c(4) server: $3 $iif($4,$_c(1) $+ ( $+ $4- $+ $_c(1) $+ ))
n307=  :wi.319 | return $_c(1) $+ » $+ $_c(4) channels: $3-
n308=  :wi.378 | return $_c(1) $+ » $+ $_c(1) $2-
n309=  :wi.301 | return $_c(1) $+ » $+ $_c(4) away $+ : $3-
n310=  :wi.recnicks | return $_c(1) $+ » $+ $_c(4) recnicks: $2-
n311=  :wi.sl2 | return $sepline2
n312=}
n313=;
n314=ech {
n315=  if ($hget(x_echo,$1)) return $replace($ifmatch,&k,,&b,,&u,,&r,,&2,$2,&3,$3)
n316=  goto $1
n317=  :snotices | return $_timestamp (SNotice) $2-
n318=  :gnotices | return $_timestamp ( $+ $_c(2) $+ Global: $+ $_c(2) $+ $+ $2 $+ ) - $3-
n319=  :cnotices | return -> $_c(2) $+ ( $+ $iif($2,$2) $+ $3 $+ $_c(2) $+ ) $4-
n320=  :shitctcp | return $_timestamp $2 $_c(1) $+ ( $+ $_c(3) $+ $3 $+ $_c(1) $+ [shitlisted $+ $_c(1) $+ ]) tried to $_c(2) $+ CTCP $_c(1) $+ you ( $+ $left($4-,100) $+ $_c(1) $+ ), halted.
n321=  :noctcps | return $logo $_c(2) $+ DCC $upper($2) request from $3 $_c(1) $+ ( $+ $4 $+ $_c(1) $+  ):  $+ $iif($5,locked,halted) $+ 
n322=  :fctcpreply | return -> $_c(3) $+ CTCP $upper($2) reply ( $+ $4- $+ $_c(3) $+ ) sent to $3
n323=  :badfiles | return $_c(2) $+ CTCP SEND $+ $_c(3) request (badfile: $+ $4 $+ $_c(3) $+ ) from $2 $+ ! $+ $3 $+ $_c(3) $+ , halted
n324=  :badresume | return $logo Invalid $_c(2) $+ RESUME request from $2 $_c(1) $+ ( $+ $3 $+ $_c(1) $+ ): $4-
n325=  :getfail | return $_error DCC Get from $2 ( $+ $3 $+ ) failed
n326=  :sendfail | return $_error DCC Send to $2 ( $+ $3 $+ ) failed $_c(1) $+ (ShiftF6 to retry $+ $_c(1) $+ )
n327=  :dccping | return $logo $_c(2) $+ DCC PING requested by $_c(3) $+ $2
n328=  :dccpingreply | return $logo $_c(3) $+ DCC PING reply from $+ $_c(3) $2 $+ : $calc(($ticks / 1000) - $_v%(dping.,$nick)) seconds
n329=  :dccsend | return $logo $_c(2) $+ DCC SEND requested by $_c(3) $+ $2
n330=  :dccsent | return $logo $_c(2) $+ DCC SEND requested from $_c(3) $+ $2
n331=  :sendaccept | return $logo $_c(2) $+ DCC SEND accepted by $_c(3) $+ $2
n332=  :netsplit | return $timestamp $_c(1) $+ Netsplit detected at $2 $_c(1) $+ (CtrlF3 to see who split $+ $_c(1) $+ )
n333=  :netrejoin | return $timestamp $_c(1) $+ Probable net rejoin detected at $3 $_c(1) $+ ( $+ $2 $+ $_c(1) $+ )
n334=  :queryquit | return $logo $2 $_c(1) $+ has left IRC ( $+ $3- $+ $_c(1) $+ )
n335=  :queryjoin | return $logo $2 $_c(1) $+ is back (on $3 $+ $_c(1) $+ )
n336=  :myinvite | return -> $_c(3) $+ Invited $2 $_c(3) $+ to join $3
n337=  :myctcpreply | return -> $_c(2) $+ [[ $+ $_c(3) $+ ctcpreply $+ $_c(2) $+ ( $+ $_c(3) $+ $2 $+ / $+ $upper($3) $+ $_c(2) $+ ) $+ ]] $+ $_c(3) $4-
n338=  :notify | return $_notify(4) $2 $_c(1) $+ ( $+ $_c(3) $+ $3 $+ $_c(1) $+ ) is on IRC. $_ntfconf($2,$iif(@ isin $3,$3,$+(@,$3)))
n339=  :notify.s | return $_notify(4) $2 is on IRC. $_ntfconf($2)
n340=  :unotify | return $_notify(2) $2 has quit IRC.
n341=  :watch | return $_watch(4) $2 $_c(1) $+ ( $+ $_c(3) $+ $replace($3,@,$+($_c(4),@,$_c(3))) $+ $_c(1) $+ ) logged in. $_ntfconf($2,$3)
n342=  :watch.o | return $_watch(4) $2 $_c(1) $+ ( $+ $_c(3) $+ $replace($3,@,$+($_c(4),@,$_c(3))) $+ $_c(1) $+ ) is online $iif($4,since $4) $_ntfconf($2,$3)
n343=  :uwatch | return $_watch(2) $2 $_c(1) $+ ( $+ $_c(3) $+ $replace($3,@,$+($_c(4),@,$_c(3))) $+ $_c(1) $+ ) logged out.
n344=  :unotify.cn | return $_notify(2) $2 changed nick $_c(1) $+ ( $+ $3 $+ $_c(1) $+ ).
n345=  :uwatch.cn | return $_watch(2) $2 $_c(1) $+ ( $+ $_c(3) $+ $replace($3,@,$+($_c(4),@,$_c(3))) $+ $_c(1) $+ ) changed nick $_c(1) $+ ( $+ $4 $+ $_c(1) $+ ).
n346=
n347=
n348=  :pvtspam | return $_timestamp $logo $_c(2) $+ Detected pvt spam from $2 ( $+ $gettok($3,2,33) $+ ) $_c(2) $+ (' $+ $5 $+ $_c(2) $+ '). $iif($4,Exempted.)
n349=  :pflood | return $_timestamp $_c(2) $+ $2 flood detected from $3 $_c(1) $+ ( $+ $4 $+ $_c(1) $+ )
n350=  :mass | return $_timestamp $_c(2) $+ *** Probable mass $+ $2 flood detected on $3 $iif($2 == join,(it can also be just a netjoin)) $+ .
n351=  :ultraflood | return $_timestamp $_c(2) $+ *** ULTRA flood detected!!!
n352=  :userwarn | return $_timestamp $logo $_c(1) $+ User ( $+ $replace($2,@,$+($_c(1),@,)) $+ $_c(1) $+ ) with "warn" mask has joined $3
n353=  :friendjoin | return $_timestamp $_c(1) $+ Joins: $2 $_c(1) $+ ( $+ $_c(3) $+ $replace($3,@,$+($_c(1),@,$_c(3))) $+ $_c(1) $+ ) in $4 $_c(1) $+ - (friend $+ $_c(1) $+ [level 10 $+ $_c(1) $+ ] $+ $_c(1) $+ )
n354=  :localwarn | return $_timestamp ( $+ $_c(2) $+ Warn) $2 has exceeded the limits set for $3 in $4 $+ . (F6 to kick, CtrlF6 to kickban)
n355=  :localwarn2 | return $_timestamp ( $+ $_c(2) $+ Warn) Punishing $2 with $3 for $4 in $5
n356=  :localwarn3 | return $_timestamp $logo Warning has been sent to $2 about $3 $+ .
n357=  :localwarn4 | return $_timestamp $logo Performing custom penalty on $2 about $3 $+ .
n358=
n359=  :clonewarn | return (Warn) You have exceeded the number of clones allowed in $2 $+ . Please remove some of them.
n360=  :guestwarn | return (Warn) Guests are not allowed in $2 $+ . Try getting some help about registering/identifying your nick.
n361=  :badwordwarn | return (Warn) Don't use that kind of language in $2
n362=  :customwarn | return (Warn) You have exceeded the limits set for $2 in $3 $+ . Please be more carefull.
n363=  :ignored | return (X) You are now being ignored.
n364=  :pvtblocked | return (X) I'm not accepting any privates at the moment...
n365=  :pagercvd | return (Page) Your page has been received
n366=  :pagenotaway | return (Page) I'm not away...
n367=  :pageroff | return (Page) Pager is off
n368=  :miscctcpreply | return my mom always told me not to talk to strangers
n369=  :imaway | return (X) I'm away right now - &ar -
n370=  :awayaction | return is away, &ar, (log\&alog pager\&apager)
n371=  :backaction | return is back after &atime
n372=  :mp3echo | return plays - &wfn - (&wsrKHz/&wbrKbps/&wlen)
n373=}
n374=;
n375=;EOF