Acid 1.0 — File Browser

Acid1.0v1.0 / Acid1.0v1.0 / System / AcidAlias / acidalias.ini

acidalias.ini — 11.7 KB — Download this file

[aliases]
n0=acid rm
n1=acidhelp echo -a This is the mIRC Help file, this script isn't for beginners so that would have to meen your an experianced mIRC user, therefore you need no Help file for the script :). | /help
n2=acidpager {
n3=  if ($dialog(pg) != $null) { did -r pg 2 }
n4=  else { dialog -m pg pg }
n5=  loadbuf 1- $+ $lines(system\acidmisc\acidaway.txt) -po pg 2 $mircdirsystem\acidmisc\acidaway.txt
n6=}
n7=cred {
n8=  if ($dialog(cred) != $null) { did -r cred 2 }
n9=  else { dialog -m cred cred }
n10=  loadbuf 1- $+ $lines(system\acidmisc\credits.txt) -po cred 2 $mircdirsystem\acidmisc\credits.txt
n11=}
n12=j join #$$1 $2-
n13=mpon .enable #modeprot | if ($1 != $null) { set %mpchans $1 } | else { set %mpchans $$?="Channels? Separate with comma" } | if (($! == $null) && ($1 == $null)) { .disable #modeprot | echo 4 -a 7( 6Invalid Channel Entry - disabling mode protection 7) } | else { echo -a 7( 6Mode Protection is on for:9 %mpchans 7) }
n14=mpoff .disable #modeprot | unset %mpchans | echo -a 7( 6Mode Protection Disabled 7)
n15=tpon .enable #topicprot | if ($1 != $null) { set %tpchan $1 } | else { set %tpchan $$?="Channel?" } | if (($! == $null) && ($1 == $null)) { .disable #topicprot | echo -a 7( 6Error - Invalid Entry - disabling topic protection 7) | halt } | else { echo -a 7( 6Topic protection is on for9 %tpchan 7) } | if ($me !isop %tpchan) { echo -a %tpchan 7( 6NOTE: You do not have ops.  Topic Protection will function if you become opped 7) } | set %tptopic $chan(%tpchan).topic | onotice $! [@/ $+ # $+ ] 7( 6Topic Protection Is Now 9On 7)
n16=tpoff .disable #topicprot | if ($opnick(%tpchan,0) > 1) { .onotice %tpchan [@/ $+ # $+ ] 7( 6Topic Lock is 9Off 7) } | unset %tpchan %tptopic
n17=con/con /amsg Guess what all! I'm a moron! I just let someone con me into typing /con/con but I'm lucky because the bug has been fixed so im not restarting my PC now! %acid
n18=aux/aux /amsg Guess what all! I'm a moron! I just let someone con me into typing /aux/aux but I'm lucky because the bug has been fixed so im not restarting my PC now! %acid
n19=hk /.echo 7(9F17) 6Help |  /.echo 7(9F27) 6Script Main Control |  /.echo 7(9F37) 6Away System |  /.echo 7(9F47) 6MP3 |  /.echo 7(9F57) 6Play MP3 | /.echo 7(9F67) 6Random MP3 | /.echo 7(9F77) 6Channel Protection |  /.echo 7(9F87) 6Personel Protection |  /.echo 7(9F97) 6Talker |  /.echo 7(9F107) 6Nick Completer |  /.echo 7(9F117) 6File Server |  /.echo 7(9F127) 6About %acid
n20=lagcheck { .timerlagcheck 0 15 .ctcp $me ping }
n21=bot {
n22=  echo -a 7( 6Loading 12ߣíZzÀ®Ð ßðT 6For 7) %acid | .timer 1 1 run $mircexe system\acidblizzardbot\goldbot.ini
n23=}
n24=rm {
n25=  if ($dialog(readme) != $null) { did -r readme 2 }
n26=  else { dialog -m readme readme }
n27=  loadbuf 1- $+ $lines(readme.txt) -po readme 2 $mircdirreadme.txt
n28=}
n29=mp3 {
n30=  if (%folder == $null) {
n31=    echo -a 7( 6You havn't set up your MP3 Player yet. To do so type 9/mp3dir 7)
n32=    halt  
n33=  }
n34=  elseif ($dialog(mp) != $null) { did -r mp 3 }
n35=  else { /mp3list | dialog -md mp mp }
n36=  loadbuf 1- $+ $lines(system\acidmisc\list.txt) -po mp 3 $mircdirsystem\acidmisc\list.txt
n37=}
n38=skinsel {
n39=  if ($dialog(skinsel) != $null) { did -r skinsel 1 }
n40=  else { dialog -m skinsel skinsel }
n41=  loadbuf 1- $+ $lines(system\acidskin\skinlist.txt) -po skinsel 1 $mircdirsystem\acidskin\skinlist.txt
n42=}
n43=rgone {
n44=  set %away on
n45=  set %awaysince $time
n46=  nick %gonenick
n47=  if (%ipm == On) { /ignore -p *!*@*.* }
n48=  if (%logging == On) { /log %lch }
n49=  else .timeraway 0 550 /ame 7( 6Is Away: 7(9 %reason 7) 6Away Since: 7(9 %awaysince 7) 6Pager: 7(9 %pager 7) 6Logging: 7(9 %logging 7) 6Private Message Ignore: 7(9 %ipm 7) %acid
n50=  ame 7( 6Is Now Away: 7(9 %reason 7) 6Away Since: 7(9 %awaysince 7) 6Pager: 7(9 %pager 7) 6Logging: 7(9 %logging 7) 6Private Message Ignore: 7(9 %ipm 7) %acid
n51=}
n52=goneoff {
n53=  if (%ipm == On) { /ignore -r }  
n54=  if (%logging == On) { log off }
n55=  set %away off
n56=  nick %normalnick
n57=  .timeraway off
n58=  ame 7( 6Is Now Back: 7(9 %reason 7) 6Away Since: 7(9 %awaysince 7) %acid
n59=}
n60=/f1 { acidhelp }
n61=/f2 { setup }
n62=/f3 { gone }
n63=/f4 { mp3 }
n64=/f5 { mp3play }
n65=/f6 { random }
n66=/f7 { config }
n67=/f8 { ppro }
n68=/f9 { talkcon }
n69=/f10 { nickc }
n70=/f11 { afserve }
n71=/f12 { aboutaf }
n72=frootdir { 
n73=  set %fdir $sdir="Set Fserv Root Directory" c:\ 
n74=  did -r afserve 3
n75=  did -a afserve 3 %fdir
n76=}
n77=fsvcont {
n78=  /did -ra afserve 17 &Stop Cont. Ad
n79=  /set %stst On
n80=  /cpsscore
n81=  if (%fserve. == On) {
n82=    .timer2 0 90 /msg %fchan %acid 6File Server ACTIVE 7)6: 7«6Trigger:9 %trigger $+ 7» «6Slots:9 $fserv(0) $+ /37» «6CPS:9 %fcps $+ 7» «6CPS Record:9 %fcpsrec 7(6 $+ %frecnick $+ 7) $+ 7» «6Note:9 %note $+ 7»
n83=  }
n84=}
n85=fsv {
n86=  if (%fserve. == On) { 
n87=    /msg %fchan %acid 6File Server ACTIVE 7)6: 7«6Trigger:9 %trigger $+ 7» «6Slots:9 $fserv(0) $+ /37» «6CPS:9 %fcps $+ 7» «6CPS Record:9 %fcpsrec 7(6 $+ %frecnick $+ 7) $+ 7» «6Note:9 %note $+ 7»
n88=  }
n89=}
n90=cpsscore {
n91=  if ($send(1).cps > %fcpsrec) && ($send(1).cps != n/a) { set %fcpsrec $send(1).cps | set %frecnick $send(1)
n92=  }
n93=  /set %fcps $send(1).cps
n94=  /set %slots $fserve(1)
n95=  /.timer1 0 10 cpsscore
n96=}
n97=mp3play { 
n98=  /set %mp3file $dir="Choose An MP3 To Play" [ %folder $+ *.mp3 ]
n99=  /set %mp3size1 $file(%mp3file).size
n100=  /set %mp3size2 $calc(%mp3size1 / 1000000)
n101=  /set %mp3size $round(%mp3size2,2)
n102=  /set %mp3length $duration($calc($file(%mp3file).size / 128000 * 8))
n103=  /set %fserve $nopath(%mp3file)
n104=  /set %randskin $findfile($mircdirsystem\acidskin\skins\,*.skn,$rand(0,$findfile($mircdirsystem\acidskin\skins\,*.skn,0)))
n105=  if (%rskin == on) { /run %mp3file | /amsg $read -l1 %randskin | /ctcp $active MP3 %fserve }
n106=  elseif (%mp3file == $null) { halt }
n107=  else { /run %mp3file
n108=    /ctcp $active MP3 %fserve
n109=    /amsg $read -l1 %setskin
n110=  }
n111=}
n112=silentmp3 { 
n113=  /set %mp3file $dir="Choose an MP3 to play" [ %folder $+ *.mp3 ]
n114=  /set %mp3size1 $file(%mp3file).size
n115=  /set %mp3size2 $calc(%mp3size1 / 1000000)
n116=  /set %mp3size $round(%mp3size2,2)
n117=  /set %mp3length $duration($calc($file(%mp3file).size / 128000 * 8))
n118=  /set %fserve $nopath(%mp3file)
n119=  /set %randskin $findfile($mircdirsystem\acidskin\skins\,*.skn,$rand(0,$findfile($mircdirsystem\acidskin\skins\,*.skn,0)))
n120=  if (%rskin == on) { /run %mp3file | /echo -a $read -l1 %randskin }
n121=  elseif (%mp3file == $null) { halt }
n122=  else { /run %mp3file
n123=    /echo -a $read -l1 %setskin
n124=  }
n125=}
n126=random { 
n127=  if (%folder == $null) {
n128=    echo 7( 6You havent setup your MP3 Folder. 7)
n129=    halt 
n130=  }
n131=  else {
n132=    /set %mp3file $findfile(%folder,*.mp3,$rand(0,$findfile(%folder,*.mp3,0)))
n133=    /set %mp3size1 $file(%mp3file).size
n134=    /set %mp3size2 $calc(%mp3size1 / 1000000)
n135=    /set %mp3size $round(%mp3size2,2)
n136=    /set %mp3length $duration($calc($file(%mp3file).size / 128000 * 8))
n137=    /set %fserve $nopath(%mp3file)
n138=    /set %randskin $findfile($mircdirsystem\acidskin\skins\,*.skn,$rand(0,$findfile($mircdirsystem\acidskin\skins\,*.skn,0)))
n139=    if (%rskin == on) { /run %mp3file | /amsg $read -l1 %randskin | /ctcp $active MP3 %fserve }
n140=    elseif (%mp3file == $null) { halt } 
n141=    else { /run %mp3file
n142=      /ctcp $active MP3 %fserve 
n143=      /amsg $read -l1 %setskin
n144=    }
n145=  }
n146=}
n147=
n148=randomsilent { 
n149=  if (%folder == $null) {
n150=    echo 7( 6You havent setup your MP3 Folder. 7)
n151=    halt 
n152=  }
n153=  else {
n154=    /set %mp3file $findfile(%folder,*.mp3,$rand(0,$findfile(%folder,*.mp3,0)))
n155=    /set %mp3size1 $file(%mp3file).size
n156=    /set %mp3length $duration($calc($file(%mp3file).size / 128000 * 8))
n157=    /set %mp3size2 $calc(%mp3size1 / 1000000)
n158=    /set %mp3size $round(%mp3size2,2)
n159=    /set %fserve $nopath(%mp3file)
n160=    /set %randskin $findfile($mircdirsystem\acidskin\skins\,*.skn,$rand(0,$findfile($mircdirsystem\acidskin\skins\,*.skn,0)))
n161=    if (%rskin == on) { /run %mp3file | /echo -a $read -l1 %randskin }
n162=    elseif (%mp3file == $null) { halt }
n163=    else { /run %mp3file
n164=      /echo -a $read -l1 %setskin
n165=    }
n166=  }
n167=}
n168=winamploc { 
n169=  /set %winamp $$file="Select location for Winamp?" *.exe
n170=  /echo -a 7( 6You Have Set9 %winamp 6As Your MP3 Player. 7)
n171=}
n172=mp3dir { 
n173=  /set %folder $sdir="Select Your Mp3 Folder"
n174=  /echo -a 7( 6You Have Set9 %folder 6As Your MP3 Folder. 7)
n175=}
n176=sayhowmany { 
n177=  if (%folder == $null) {
n178=    echo 7( 6You havent setup your MP3 Folder. 7) 
n179=    halt
n180=  }
n181=  else {
n182=    /amsg 7( 9There Are 7(9 $findfile(%folder,*.mp3,0) 7) 9Mp3's In %folder 7) %mp3ban
n183=  }
n184=}
n185=sayhowmanysilent { 
n186=  if (%folder == $null) {
n187=    echo 7( 6You havent setup your MP3 Folder. 7)
n188=    halt
n189=  }
n190=  else {
n191=    /echo -a 7( 9There Are 7(9 $findfile(%folder,*.mp3,0) 7) 9Mp3's In %folder 7) %mp3ban
n192=  }
n193=}
n194=mp3dir { 
n195=  /set %folder $sdir="Select Your Mp3 Folder" c:\ 
n196=  did -r mp 18
n197=  did -a mp 18 %folder
n198=}
n199=winampdir { 
n200=  /set %winamp $dir="Select Your MP3 Player" [ c:\ $+ *.exe ]
n201=  did -r mp 22
n202=  did -a mp 22 %winamp
n203=}
n204=mp3list {
n205=  write -c system\acidmisc\list.txt Mp3 List. Created $date
n206=  write -d system\acidmisc\list.txt
n207=  %listtotal = $findfile(%folder,*.mp3,0)
n208=  %listwhich = 0
n209=  %listsize = 0
n210=  :loop
n211=  inc %listwhich 1
n212=  if ( %listwhich > %listtotal ) { goto end }
n213=  else { /write system\acidmisc\list.txt $nopath($findfile(%folder,*.mp3,%listwhich)) | %listsize = $calc($lof($findfile(%folder,*.mp3,1)) + %listsize) | goto loop }
n214=  :end
n215=  echo -a 7( 6Completed Mp3 List9 ( $+ $findfile(%folder,*.mp3,0) $+ ) 6Files. 7) %mp3ban
n216=  unset %list.*
n217=}
n218=slist {
n219=  /write -c system\acidskin\skinlist.txt $date
n220=  /write -d system\acidskin\skinlist.txt
n221=  %lsk = $mircdirsystem\acidskin\skins\
n222=  %slisttotal = $findfile(%lsk,*.skn,0)
n223=  %slist-which = 0
n224=  %slistsize = 0
n225=  :loop
n226=  inc %slist-which 1
n227=  if ( %slist-which > %slisttotal ) { goto end }
n228=  else { /write system\acidskin\skinlist.txt $nopath($findfile(%lsk,*.skn,%slist-which)) | %slistsize = $calc($lof($findfile(%lsk,*.skn,1)) + %slistsize) | goto loop }
n229=  :end
n230=  unset %slist*
n231=}
n232=br { goto $iif($1 isnum 1-14,$1,0) | :0 | return 112000 | :1 | return 32000 | :2 | return 40000 | :3 | return 48000 | :4 | return 56000 | :5 | return 64000 | :6 | return 80000 | :7 | return 96000 | :8 | return 112000 | :9 | return 128000 | :10 | return 160000 | :11 | return 192000 | :12 | return 224000 | :13 | return 256000 | :14 | return 320000 }
n233=kbps { return $remove($bitrate($1-),000) $+ kbps }
n234=bitrate { 
n235=  if (($1 == $null) || ($exists($1-) == $false)) return 0 
n236=  set %bitrate $read -l1 $1- 
n237=  if ($pos(%bitrate,RIFF,1)) { unset %bitrate | return 128000 } 
n238=  set %bitrate $asc($mid(%bitrate,3,1)) 
n239=  .timer 1 1 unset %bitrate 
n240=  return $iif(%bitrate == $null,128000,$br($int($calc(%bitrate / 16)))) 
n241=}