<<Falcon>> — File Browser

Falconv1.1 / Falconv1.1 / FALCON / aliases.ini

aliases.ini — 14.72 KB — Download this file

[Aliases]
n0=addop {
n1=  %ww = $3
n2=  write $mircdir $+ ops.txt $1  %ww
n3=  password $3
n4=  write $mircdir $+ ident.txt $lower($2) $1 %ww
n5=  echo 3 $active Added $2 ( $+ $address $+ ) As an OP on All Chans $+ .
n6=  change %ww
n7=  notice $2 Added You: $2 As on op on %the_chan With password '' $+ %password $+ ''
n8=  notice $2 In the future if your ident changes /msg $me IDENT $2 %password
n9=  notice $2 You can now type /msg $me OP %password for ops
n10=  notice $2 Or type /msg $me HELP for optios you can use
n11=  notice $2 I reconize you now at $lower($1)
n12=}
n13=op mode # +ooo $$1 $2 $3
n14=dop mode # -ooo $$1 $2 $3
n15=j join $1
n16=w whois $$1
n17=k kick # $$1
n18=q query $$1
n19=send dcc send $1 $2
n20=chat dcc chat $1
n21=ping ctcp $$1 ping
n22=F1 join %inchan
n23=F2 kc
n24=F3 kbc
n25=F11 writeini $mircdir $+ \helper\split.ini mIRC host splitserv1SERVER: $+ %serversplit $+ :6667 | run $mircdir $+ \mirc32.exe $mircdir $+ \helper\split.ini
n26=F12 writeini $mircdir $+ \helper\split.ini mIRC host splitserv1SERVER: $+ %serversplit2 $+ :6667 | run $mircdir $+ \mirc32.exe $mircdir $+ \helper\split.ini
n27=count {
n28=  echo 4 There are a total of $nick(0,#) people in this channel. [ $+ $opnick(0,#) OP'ed/ $+ $nopnick(0,#) Not OP'ed]
n29=  speak There are a total of $nick(0,#) people in this channel. [ $+ $opnick(0,#) opped/ $+ $nopnick(0,#) Not opped]
n30=}
n31=banse set %showbans on | echo 6 #  Ban Infomation on # | mode # b
n32=chaninfoe enable #chaninfoe | mode # | who #
n33=chaninfov enable #chaninfov | mode #  | who #
n34=dc msg # Clone Detector listing clones on # | enable #check.for.clones | who #
n35=dce echo 2 $active Clone Detector listing clones on # | enable #check.for.clonese | who #
n36=whoise enable #whoise | set %x.chan # | whois $$!
n37=longip echo -a <> Converted 12 $+ $1 -> $longip($1) $+ 
n38=autoaway {
n39=  if ($away == $true) halt
n40=  if (%autoaway == OFF) halt
n41=  whois $me
n42=}
n43=newtitle {
n44=  if ($chan($active).mode == $null) set %chan.modes none 
n45=  else set %chan.modes $chan($active).mode
n46=  if $away == $true titlebar <<Falcon>> ver 1.1  [Online: %hours $+ hr %mins $+ m $+ ] [Date $adate $+ ] [Lag: %mping secs ] [On: $active ( $+ %chan.modes $+ )] [Away: %ahours $+ h %amins $+ m]
n47=  if $away == $false titlebar <<Falcon>> ver 1.1 [Online: %hours $+ hr %mins $+ m $+ ] [Date $adate $+ ] [Lag: %mping secs ] [On: $active ( $+ %chan.modes $+ )] 
n48=}
n49=mk {
n50=  set -q %i 0
n51=  set -q %nicks
n52=  set -q %nc 0
n53=  if ($1 != $null) %message = $1
n54=  if (%message == $null) %message =
n55=  :begin
n56=  inc -q %i
n57=  %nick = $nick(%i,%taker)
n58=  if (%nick == $null) goto null
n59=  if (%nick != $me) goto yes
n60=  goto begin
n61=  :yes
n62=  set %nicks %nick
n63=  inc -q %nc
n64=  if (%nc == 1) goto four
n65=  goto begin
n66=  :four
n67=  kick %taker %nicks %message
n68=  set -q %nc 0
n69=  set -q %nicks
n70=  goto begin
n71=  :null
n72=  unset %nops
n73=  unset %message
n74=  kick %taker %nicks %message
n75=  set -q %nc 0
n76=  set -q %nicks
n77=}
n78=mkno {
n79=  %deop = *1
n80=  set -q %i 0
n81=  set -q %nicks
n82=  set -q %nc 0
n83=  :begin
n84=  inc -q %i
n85=  %nick = $nick(%i,#)
n86=  if (%nick == $null) goto null
n87=  if (%nick != $me) goto yes
n88=  goto begin
n89=  :yes
n90=  set %nicks %nick
n91=  inc -q %nc
n92=  if (%nc == 1) goto four
n93=  goto begin
n94=  :four
n95=  if (%nicks !isop #)  kick # %nicks Mass Kick Non-Ops
n96=  set -q %nc 0
n97=  set -q %nicks
n98=  goto begin
n99=  :null
n100=  unset %nops
n101=  if (%nicks !isop #) kick # %nicks Mass Kick Non-Ops
n102=  set -q %nc 0
n103=  set -q %nicks
n104=}
n105=rkicks {
n106=  :start
n107=  if (($nopnick(0,$chan) == 0) || (%rkicks == 0)) goto end
n108=  else {
n109=    kick $chan $nopnick($rand(1,$nopnick(0,$chan)),$chan) <<Falcon>> Random Kick
n110=    dec %rkicks 1
n111=  }
n112=  goto start
n113=  :end
n114=}
n115=rkicke {
n116=  :start
n117=  if ($nopnick(0,$chan) == 0) goto end
n118=  else { 
n119=    kick $chan $nopnick($rand(1,$nopnick(0,$chan)),$chan) <<Falcon>> Random Kick
n120=  }
n121=  :end
n122=}
n123=setupapps {
n124=  echo 4 %Ver external applications setup:
n125=  if (Y isin $$?="Do you wish to set a web browser? (Y/N)") {
n126=    if ($$?="Enter C:\your\www\browser or BROWSE" == BROWSE) set %www $file="Select your web browser:" c:\
n127=    else set %www $!
n128=    echo 4 WWW browser set to %www $+ .
n129=  }
n130=  if (Y isin $$?="Do you wish to set a telnet client? (Y/N)") {
n131=    if ($$?="Enter C:\your\telnet\program or BROWSE" == BROWSE) set %telnet $file="Select your telnet program:" c:\
n132=    else set %telnet $!
n133=    echo 4 Telnet client set to %telnet $+ .
n134=  }
n135=  if (Y isin $$?="Do you wish to set an FTP program? (Y/N)") {
n136=    if ($$?="Enter C:\your\FTP\client or BROWSE" == BROWSE) set %ftpclient $file="Select your FTP client:" c:\
n137=    else set %ftpclient $!
n138=    echo 4 FTP client set to %ftpclient $+ .
n139=  }
n140=  if (Y isin $$?="Do you wish to set an FTP daemon? (Y/N)") {
n141=    if ($$?="Enter C:\your\ftp\daemon or BROWSE" == BROWSE) set %ftpdaemon $file="Select your FTP daemon:" c:\
n142=    else set %ftpdaemon $!
n143=    echo 4 FTP daemon set to %ftpdaemon $+ .
n144=  }
n145=  if (Y isin $$?="Do you wish to set an email app? (Y/N)") {
n146=    if ($$?="Enter C:\your\email\program or BROWSE" == BROWSE) set %email $file="Select your email program:" c:\
n147=    else set %email $!
n148=    echo 4 EMail app set to %email $+ .
n149=  }
n150=}
n151=setupscript {
n152=  echo 4 $active %Ver script settings.
n153=  set %kickmsg $$?="Enter a default kick msg:"
n154=}
n155=splash {
n156=  %reasonz = *2
n157=  if ($2 == $null) %reasonz = Perm Banned
n158=  write -ds $+ *_ $+ $1 $mircdir $+ bans.txt
n159=  write $mircdir $+ bans.fal *_ $+ $1 $+ _    $+ %reasonz
n160=  echo 4 Perm Banned: $1 on all channels With Reason %reasonz
n161=}
n162=setaway {
n163=  if (%reason == here) goto here {
n164=    else goto away
n165=  }
n166=  :away
n167=  echo 4 $active <<Falcon>> You are already marked away, with the reason << $+ %reason $+ >>
n168=  halt
n169=  :here
n170=  set %reason $$?="Enter your away message:"
n171=  away %reason
n172=  set %ahours 0
n173=  set %amins 0
n174=  set %aseconds 0
n175=  set %awtime $time
n176=  timer10 0 60 /inc %amins
n177=  timer11 0 60 /set %aseconds 0
n178=  timer12 0 1 /inc %aseconds
n179=  timer13 0 3600 /inc %ahours
n180=  timer14 0 3600 /set %amins 0
n181=  ame is away:  %reason  : Message will be saved.  Type /ctcp $me page to wake me up.
n182=  timer7 999 600 ame is away:  %reason  : Messages will be saved. Type /ctcp $me page to wake me up. Since 12 %awtime 
n183=  halt
n184=}
n185=resynch {
n186=  mdop
n187=  raw -q mode # +i
n188=  topic #  <<Falcon>>  Channel Resynch
n189=  mk Resynch
n190=  timer974 1 9 echo 4 Now you can type `/cycle` to finish the resynch
n191=}
n192=mdop {
n193=  set -q %i 0
n194=  set -q %nicks
n195=  set -q %nc 0
n196=  :begin
n197=  inc -q %i
n198=  %nick = $opnick(%i,%taker)
n199=  if (%nick == $null) goto null
n200=  if (%nick != $me) goto nodeop
n201=  goto begin
n202=  :nodeop
n203=  set %nicks %nicks %nick
n204=  inc -q %nc
n205=  if (%nc == 4) goto deop
n206=  goto begin
n207=  :deop
n208=  raw -q mode %taker -oooo %nicks
n209=  set -q %nc 0
n210=  set -q %nicks
n211=  goto begin
n212=  :null
n213=  raw -q mode %taker -oooo %nicks
n214=  set -q %nc 0
n215=  set -q %nicks
n216=}
n217=cycle {
n218=  raw part #
n219=  raw join #
n220=  timer856 1 15 if ($me isop $chan) raw -q mode # +tn
n221=  timer857 1 15  topic # Resynch Complete
n222=}
n223=cycle2 {
n224=  %cycle = $1
n225=  if ( %cycle == $null) {
n226=    %cycle = #
n227=  }
n228=  raw part  %cycle
n229=  raw join  %cycle
n230=}
n231=password {
n232=  set %password $1
n233=  if ($Chr(95) isin %password) {
n234=    set %password $replace(%password,$chr(95),$chr(33))
n235=  }
n236=}
n237=opp {
n238=  set -q %i 0
n239=  :start
n240=  inc -q %i
n241=  %thechan = $channel(%i)
n242=  if (%thechan == $null) {
n243=    unset %opkick
n244=    halt
n245=  }
n246=  if ($me !isop %thechan) goto start
n247=  if (%opkick == $null) set %opkick *1
n248=  mode %thechan +o %opkick
n249=  goto start
n250=}
n251=change {
n252=  set %password $1
n253=  set %password $replace(%password,$chr(33),$chr(95))
n254=}
n255=greet {
n256=  set %nnick $1 
n257=  set %nnick $replace(%nnick,$chr(124),$chr(33))
n258=}
n259=ops {
n260=  if ($1 != $null) %channel = All Channels
n261=  if ($1 == $chr(42)) %channel = All Channels
n262=  if ($lower($1) == all) %channel = All Channels
n263=  if ($1 == $null) %channel = All Channels
n264=  if (%channel == $null) %channel = All Channels
n265=  echo 4 <<Falcon>> Ops Listings
n266=  echo 4 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ | set %i 0
n267=  :start
n268=  inc %i
n269=  %b = %i
n270=  %ops = $read -l $+ %i $mircdir $+ ops.fal
n271=  if (%ops == $null) goto bansdone
n272=  if (%channel == All Channels) {
n273=  goto allchans }
n274=  echo 1 [ $+ %b $+ ]: Address :  $token(2,95,%ops)
n275=  echo 1 [ $+ %b $+ ]: Channels:  $token(1,95,%ops)
n276=  echo 1 [ $+ %b $+ ]: Password: $token(3,95,%ops)
n277=  echo 4 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
n278=  goto start
n279=  :allchans
n280=  %channel2 = $lower($token(1,95,%ops))
n281=  if (%channel2 == $Chr(42)) {
n282=    %channel2 = All Channels
n283=  }
n284=  echo 2 [ $+ %b $+ ]: Address : $token(2,95,%ops)
n285=  echo 2 [ $+ %b $+ ]: Channel: %channel2
n286=  echo 2 [ $+ %b $+ ]: Password: $token(3,95,%ops)
n287=  echo 4 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
n288=  goto start
n289=  :bansdone
n290=  echo 4 <<End of Ops Listing>>
n291=}
n292=mi {
n293=  echo 2Mass Invite<> $+ # $+ <> *1
n294=  set %mass $nick(0,#)
n295=  :next
n296=  if ($nick(%mass,#) != $me) raw -q invite $nick(%mass,#) $1
n297=  dec %mass
n298=  if %mass >= 1 goto next
n299=  set %mass
n300=}
n301=bansl {
n302=  if ($1 != $null) %channel = All Channels
n303=  if ($1 == $chr(42)) %channel = All Channels
n304=  if ($lower($1) == all) %channel = All Channels
n305=  if ($1 == $null) %channel = All Channels
n306=  if (%channel == $null) %channel = All Channels
n307=  echo 4 <<Falcon>> Bans Listings
n308=  echo 4 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
n309=  set %i 0
n310=  :begin
n311=  inc %i
n312=  %b = %i
n313=  %the_bans = $read -l $+ %i $mircdir $+ bans.fal
n314=  if (%the_bans == $null) goto bansdone
n315=  if (%channel == All Channels) {
n316=  goto allchans }
n317=  echo 2 [ $+ %b $+ ]: $token(2,95,%the_bans)
n318=  echo 2 [ $+ %b $+ ]: $token(1,95,%the_bans)
n319=  echo 2 [ $+ %b $+ ]: $token(3,95,%the_bans)
n320=  echo 4 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
n321=  goto begin
n322=  :allchans
n323=  %channel2 = $lower($token(1,95,%the_bans))
n324=  if (%channel2 == $Chr(42)) {
n325=    %channel2 = All Channels
n326=  }
n327=  echo 2 [ $+ %b $+ ]: $token(2,95,%the_bans)
n328=  echo 2 [ $+ %b $+ ]: Channel: %channel2
n329=  echo 2 [ $+ %b $+ ]: Reason: $token(3,95,%the_bans)
n330=  echo 4 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
n331=  goto begin
n332=  :bansdone
n333=  echo 4 <<End Of Ban List>>
n334=}
n335=kc {
n336=  %message = <<Falcon>> Clone Kick
n337=  if ($1 != $null) %message = *1
n338=  unset %addies
n339=  set %i 0
n340=  set %num 0
n341=  :start
n342=  inc %i
n343=  %cnick = $nick(%i,#)
n344=  if (%cnick == $null) {
n345=    halt
n346=  }
n347=  %thisad = $address(%cnick,3)
n348=  if (%thisad isin %addies) {
n349=    inc %num
n350=    kick # %cnick %message
n351=    goto start
n352=  }
n353=  set %addies %addies %thisad
n354=  goto start
n355=}   
n356=kbc {
n357=  %message = <<Falcon>> Clone Kick
n358=  if ($1 != $null) %message = *1
n359=  unset %addies
n360=  set %i 0
n361=  set %num 0
n362=  :start
n363=  inc %i
n364=  %cnick = $nick(%i,#)
n365=  if (%cnick == $null) {
n366=    halt
n367=  }
n368=  %thisad = $address(%cnick,3)
n369=  if (%thisad isin %addies) {
n370=    inc %num
n371=    ban %cnick 3
n372=    kick # %cnick %message
n373=    goto start
n374=  }
n375=  set %addies %addies %thisad
n376=  goto start
n377=}   
n378=fk {
n379=  set %num $nick(0,%chan)
n380=  :begin
n381=  set %nick $nick(%num,%chan)
n382=  set %addy $address(%nick,1)
n383=  if (%nick != $me) {
n384=    if (%banmask iswm %addy) kick %chan %nick You Are Banned!
n385=  }
n386=  dec %num 1
n387=  if %num >= 1 goto begin
n388=  :end
n389=  set %nick
n390=  set %addy
n391=  set %banmask
n392=  set %chan
n393=}
n394=greets {
n395=  %qq = *3
n396=  if ($2 == $null) { 
n397=    notice $2 Usage: /msg $me INFO <info line> 
n398=    halt
n399=  }
n400=  write $mircdir $+ greet.txt $lower($1) %qq
n401=  echo 3 $active Added Greet for: $3  with info line of '' $+ %qq $+ ''
n402=  notice $2 Your info is now:  %qq
n403=  halt 
n404=}
n405=checkclones {
n406=  set %i $nick(0,%clonechan)
n407=  :start
n408=  set %nick $nick(%i,%clonechan)
n409=  set %site $address(%nick,2) 
n410=  if (%site == %clonesite) {
n411=    if (%nick != %clonenick) { 
n412=      if (%clonenick isin %clonenicks) set %clonenicks %clonenicks %nick
n413=      if (%clonenick !isin %clonenicks) set %clonenicks %clonenicks %clonenick %nick
n414=    }
n415=  }   
n416=  dec %i 1
n417=  if %i >= 1 goto start
n418=  :end
n419=  if (%clonenicks != $null) {
n420=    echo $active <> Clones Detected on:12 %clonechan 
n421=    echo $active <> Clone Site:12 %clonesite 
n422=    echo $active <> Clone Nicks:4 %clonenicks 
n423=    echo 2 $active <> If you want to kick them hit F2
n424=    echo 2 $active <> If you want to kick/ban them hit F3
n425=    speak Clones detected on %clonechan
n426=  }
n427=  set %clonenick
n428=  set %clonenicks 
n429=  set %nick
n430=}  
n431=mm {
n432=  echo 2Mass-Msg<> $+ # $+ <> *1
n433=  set %mass $nick(0,#)
n434=  :next
n435=  if ($nick(%mass,#) != $me) raw -q privmsg $nick(%mass,#) : $+ *1
n436=  dec %mass
n437=  if %mass >= 1 goto next
n438=  set %mass
n439=}
n440=ctext { 
n441=  unset %ctext*
n442=  set %loop 0
n443=  set %ctext *1
n444=  :1
n445=  inc %loop 1
n446=  if ($mid(%loop,1,%ctext) == $chr(32)) { %ctext2 = %ctext2 $+ $chr(160) | goto 1 }
n447=  %ctext1 =  $+ $rand(1,13) $+ $mid(%loop,1,%ctext)
n448=  if (%ctext2 == $null) { %ctext2 = %ctext1 }
n449=  else { %ctext2 = %ctext2 $+ %ctext1 }
n450=  ;echo -s .. %ctext4
n451=  if (%loop => $len(%ctext)) { say %ctext2 | unset %ctext* | unset %loop | halt }
n452=  goto 1
n453=}