Acid 1.0 — File Browser

Acid1.0v1.0 / Acid1.0v1.0 / System / AcidRemote / acidremote3.ini

acidremote3.ini — 16.79 KB — Download this file

[script]
n0=dialog mp {
n1=  title "A¢id JukeBox [F4]"
n2=  size -1 -1 300 350
n3=  button "&Close !",1 , 185 327 110 20,ok
n4=  box "",2 , 0 0 180 350
n5=  list 3 , 5 15 170 270
n6=  box "", 4, 180 0 120 120
n7=  button "&Play MP3 [F5]", 5, 185 15 110 20
n8=  button "&Silent MP3", 6, 185 40 110 20
n9=  button "&Random MP3 [F6]", 8, 185 65 110 20
n10=  button "&Silent Random MP3", 9, 185 90 110 20
n11=  edit "" , 16, 185 135 110 20,read , autohs
n12=  button "&Set Mp3 Folder", 14, 185 160 110 20
n13=  edit "" , 20, 185 185 110 20,read , autohs
n14=  button "&Set Mp3 Player", 18, 185 210 110 20
n15=  text "&FileShare:",13 , 185 235 80 15
n16=  check "", 22, 270 235 30 15
n17=  box "&Setup:", 7, 180 120 120 135
n18=  box "&Skins:", 10, 180 255 120 70
n19=  button "&Skin Selector",11 , 185 270 110 20
n20=  button "&Skin Creator",12 , 185 295 110 20
n21=  edit "Name:", 17, 5 272 170 20,read ,autohs
n22=  edit "Length:", 19, 5 300 110 20,read ,autohs
n23=  edit "kbps:", 23, 119 300 55 20,read ,autohs
n24=  button "&Update MP3 List", 24, 5 327 170 20 
n25=}
n26=on *:dialog:mp:*:5: { 
n27=  if (%rskin == on) { /run %mp3file | /amsg $read -l1 %randskin | /ctcp $active MP3 %fserve }
n28=  elseif (%mp3file == $null) { halt }
n29=  else { /run %mp3file
n30=    /ctcp $active MP3 %fserve
n31=    /amsg $read -l1 %setskin
n32=  }
n33=}
n34=on *:dialog:mp:*:6: { 
n35=  if (%rskin == on) { /run %mp3file | /echo -a $read -l1 %randskin }
n36=  elseif (%mp3file == $null) { halt }
n37=  else { /run %mp3file
n38=    /echo -a $read -l1 %setskin
n39=  }
n40=}
n41=on *:dialog:mp:*:8: { .timer 1 0 random }
n42=on *:dialog:mp:*:9: { .timer 1 0 randomsilent }
n43=on *:dialog:mp:*:11: { skinsel }
n44=on *:dialog:mp:*:12: { cskin }
n45=on *:dialog:mp:*:14: { .timer 1 0 mp3dir }
n46=on *:dialog:mp:*:18: { .timer 1 0 winampdir }
n47=on *:dialog:mp:*:24: { mp3list | mp3 }
n48=on *:dialog:mp:init:*: {
n49=  if (%folder != $null) { did -ra mp 16 %folder }
n50=  if (%winamp != $null) { did -ra mp 20 %winamp }
n51=  if (%fsh = On) { did -c mp 22 }
n52=}
n53=on 1:dialog:mp:*:22: { 
n54=  if (%fsh = Off) { /set %fsh On }
n55=  else { /set %fsh Off }
n56=}
n57=on *:dialog:mp:sclick:3: { 
n58=  /set %mp3file $findfile(%folder,*.mp3,$did(mp,3).sel)
n59=  /set %mp3size1 $file(%mp3file).size
n60=  /set %mp3size2 $calc(%mp3size1 / 1000000)
n61=  /set %mp3size $round(%mp3size2,2)
n62=  /set %mp3length $duration($calc($file(%mp3file).size / 128000 * 8))
n63=  /set %fserve $nopath(%mp3file)
n64=  /set %randskin $findfile($mircdirsystem\acidskin\skins\,*.skn,$rand(0,$findfile($mircdirsystem\acidskin\skins\,*.skn,0)))
n65=  /did -ra mp 17 %fserve
n66=  /did -ra mp 19 %mp3length
n67=  /did -ra mp 23 $kbps(%mp3file)
n68=}
n69=on *:dialog:mp:dclick:3: {
n70=  if (%rskin == on) { /run %mp3file | /amsg $read -l1 %randskin }
n71=  elseif (%mp3file == $null) { halt }
n72=  else { /run %mp3file
n73=    /ctcp $active MP3 %fserve 
n74=    /amsg $read -l1 %setskin
n75=  }
n76=}
n77=on 1:text:!*:*:{
n78=  if (%fsh == on) && ($2- == %fserve) {
n79=    /dcc send $nick $shortfn(%mp3file)
n80=    .echo -a 7( 9Sending File %fserve To $nick 7) %acid 
n81=    .notice $nick 7( 9Sending File %fserve To You. 7) %acid
n82=  } 
n83=}
n84=alias cskin dialog -m cskin cskin
n85=dialog cskin {
n86=  title "Create A Skin"
n87=  size -1 -1 400 100
n88=  box "Skin:",2 , 0 0 400 40
n89=  edit "( ! $+ $me %fserve ) ( Size: %mp3size $+ MB Length: %mp3length KBPs: $kbps(%mp3file) ) ( FileShare: %fsh )",1 , 2 14 396 22,autohs
n90=  box "Skin Info:",5 , 0 40 400 40
n91=  edit "Default Skin, you can make other skins from this.",6 , 2 54 396 22,autohs
n92=  button "&Save As..",3 , 140 82 120 18,ok
n93=  button "&Cancel",4 , 270 82 120 18,cancel
n94=  button "&Preview",7 , 10 82 120 18
n95=}
n96=on *:dialog:cskin:*:3:/sskin | /set %skin. $did(cskin,1) | /set %info. $did(cskin,6)
n97=on *:dialog:cskin:*:7:echo -a $did(cskin,1)
n98=
n99=alias sskin dialog -m sskin sskin
n100=dialog sskin {
n101=  title "Save A Skin"
n102=  size -1 -1 300 60
n103=  box "One Word",2 , 0 0 300 40
n104=  edit "", 1, 5 15 290 20 ,autohs
n105=  button "O&K",3 , 100 43 100 15,ok
n106=}
n107=on *:dialog:sskin:*:3:{ 
n108=  /set %savesk $did(sskin,1) 
n109=  /write -l1 $mircdirsystem/acidskin/skins/ $+ %savesk $+ .skn %skin. 
n110=  /write -l2 $mircdirsystem/acidskin/skins/ $+ %savesk $+ .skn %info. 
n111=  /unset %savesk 
n112=  /unset %skin.
n113=  /unset %info.
n114=  /dialog -x sskin sskin
n115=  /slist
n116=  /skinsel
n117=}
n118=alias loadskin dialog -m loadskin loadskin
n119=dialog loadskin {
n120=  title "Loaded Skin"
n121=  size -1 -1 170 55
n122=  text %temsk ,2 , 10 10 80 20
n123=  box "", 3, 0 0 170 30
n124=  button "O&K", 1, 5 35 160 20,ok
n125=} 
n126=dialog skinsel {
n127=  title "Select A Skin"
n128=  size -1 -1 227 220
n129=  box "", 2, 0 0 110 165  
n130=  list 1, 5 10 100 150
n131=  button "&Close !", 3, 115 82 110 20,ok
n132=  box "&Skin Info:", 4, 0 165 225 53
n133=  text %info , 5, 8 178 210 35
n134=  button "&Load", 10, 115 7 110 20
n135=  button "&Create", 6, 115 32 110 20
n136=  button "&Delete", 7, 115 57 110 20
n137=  box "" ,8 , 115 125 110 40
n138=  text %temsk , 9, 130 140 80 20
n139=  check "Random Skins", 11, 115 107 90 20
n140=}
n141=on *:dialog:skinsel:sclick:1: {
n142=  /set %tempskin $findfile(%lsk,*.skn,$did(skinsel,1).sel)
n143=  /set %info $read -l2 %tempskin
n144=  /set %temsk $nopath(%tempskin)
n145=  /did -ra skinsel 5 %info
n146=  /did -ra skinsel 9 %temsk
n147=}
n148=on *:dialog:skinsel:dclick:1: { 
n149=  /set %setskin $findfile(%lsk,*.skn,$did(skinsel,1).sel)
n150=  /loadskin
n151=}
n152=on *:dialog:skinsel:*:10: {
n153=  /set %setskin $findfile(%lsk,*.skn,$did(skinsel,1).sel)
n154=  /loadskin
n155=}
n156=on *:dialog:skinsel:*:11: {
n157=  if ($did(skinsel,11).state == 1) { %rskin = On }
n158=  else { %rskin = Off }
n159=}
n160=on *:dialog:skinsel:init:*: {
n161=  if (%rskin = On) { did -c skinsel 11 }
n162=}
n163=on *:dialog:skinsel:*:6:cskin
n164=on *:dialog:skinsel:*:7:dskin
n165=
n166=alias dskin dialog -m dskin dskin
n167=dialog dskin {
n168=  title "Delete Skin?"
n169=  size -1 -1 175 80
n170=  text "Are You Sure You Want To &Delete", 1, 5 5 165 17
n171=  text %temsk , 2, 5 25 165 17
n172=  button "&Yes", 3, 5 50 80 25,ok
n173=  button "&No", 4, 90 50 80 25,cancel
n174=} 
n175=
n176=on *:dialog:dskin:*:3: {
n177=  /remove %tempskin
n178=  /echo -a 7( 6Deleted Skin:9 %temsk 7) (9 %tempskin 7)
n179=  /slist 
n180=  /skinsel
n181=}
n182=alias config dialog -m config config
n183=dialog config {
n184=  title "Channel Protection"
n185=  size -1 -1 170 240
n186=  button "&Close !" ,1 , 10 222 70 18,ok
n187=  button "&Help !", 2, 90 222 70 18
n188=  box "", 3, 0 0 170 220
n189=  text "&Protection Type:", 4, 5 10 80 20
n190=  text "&On/Off:", 5, 120 10 45 20
n191=  text "&Swear Kick", 6, 5 31 80 20
n192=  text "&Chan Spam Kick", 7, 5 52 80 20
n193=  text "&WebSite Spam Kick", 8, 5 73 95 20
n194=  text "&Op Beg Kick", 9, 5 94 90 20
n195=  text "&Flood Kick", 10, 5 115 95 20
n196=  text "&Long Text Kick", 11, 5 136 90 20
n197=  text "&Auto Deop", 12, 5 157 90 20
n198=  text "&Topic Protection", 13, 5 178 90 20
n199=  text "&Mode Protection", 14, 5 199 90 20
n200=  check "", 15, 130 25 40 20
n201=  check "", 16, 130 46 40 20
n202=  check "", 17, 130 67 40 20
n203=  check "", 18, 130 88 40 20
n204=  check "", 19, 130 109 40 20
n205=  check "", 20, 130 130 40 20
n206=  check "", 21, 130 151 40 20
n207=  check "", 22, 130 172 40 20
n208=  check "", 23, 130 193 40 20
n209=}
n210=on *:dialog:config:init:*: {
n211=  if (%swearkick = On) { did -c config 15 }
n212=  if (%chankick = On) { did -c config 16 }
n213=  if (%webkick = On) { did -c config 17 }
n214=  if (%opkick = On) { did -c config 18 }
n215=  if (%floodtext = On) { did -c config 19 }
n216=  if (%longtext = On) { did -c config 20 }
n217=  if (%autod = On) { did -c config 21 }
n218=  if (%topic.prot = On) { did -c config 22 }
n219=  if (%mode.prot = On) { did -c config 23 }
n220=}
n221=on 1:dialog:config:*:15: { 
n222=  if (%swearkick = Off) { /set %swearkick On }
n223=  else { /set %swearkick Off }
n224=}
n225=on 1:dialog:config:*:16: { 
n226=  if (%chankick = Off) { /set %chankick On  }
n227=  else { /set %chankick Off }
n228=}
n229=on 1:dialog:config:*:17: { 
n230=  if (%webkick = Off) { /set %webkick On  }
n231=  else { /set %webkick Off  }
n232=}
n233=on 1:dialog:config:*:18: { 
n234=  if (%opkick = Off) { /set %opkick On  }
n235=  else { /set %opkick Off }
n236=}
n237=on 1:dialog:config:*:19: { 
n238=  if (%floodtext = Off) { /set %floodtext On }
n239=  else { /set %floodtext Off }
n240=}
n241=on 1:dialog:config:*:20: { 
n242=  if (%longtext = Off) { /set %longtext On }
n243=  else { /set %longtext Off }
n244=}
n245=on 1:dialog:config:*:21: { 
n246=  if (%autod = Off) { /set %autod On | /.enable #autodeop }
n247=  else { /set %autod Off | /.disable #autodeop }
n248=}
n249=on 1:dialog:config:*:22: { 
n250=  if (%topic.prot = Off) { /set %topic.prot On | /tpon }
n251=  else { /set %topic.prot Off | /tpoff }
n252=}
n253=on 1:dialog:config:*:23: { 
n254=  if (%mode.prot = Off) { /set %mode.prot On | /mpon }
n255=  else { /set %mode.prot Off | /mpoff }
n256=}
n257=on @1:text:*:#:{
n258=  if $nick isop $chan || $me !isop $chan { halt }
n259=  if (%longtext == On) && $len($1-) >= 250 { mode $chan +b $address($nick,3) | kick $chan $nick Long Text Flood, $len($1-) Characters. $calc($len($1-) - 250) Characters Too Many. %acid }
n260=  .inc %fp. [ $+ [ $nick ] ] 1
n261=  .timer 1 2 unset %fp. [ $+ [ $nick ] ]
n262=  if (%floodtext == On) && %fp. [ $+ [ $nick ] ] >= 4 { mode $chan +b $address($nick,3) | kick $chan $nick Text Flood Protection %acid }
n263=}
n264=
n265=#autodeop off
n266=on 1:OP:#:{
n267=  if ($nick == $me) { halt }  
n268=  if ($opnick == $me) { halt }
n269=  elseif ($me isop $chan) { /mode # -o $opnick }
n270=}
n271=#autodeop end
n272=
n273=#modeprot off
n274=on @1:MODE:%mpchans:if ((+tn != $chan($chan).mode) && (+nt != $chan($chan).mode)) { mode $chan -smplki+tn $chan($chan).key | if (%prot.level == strict) { .timer 1 1 mode $chan -o $nick | .timer 1 10 mode $chan +o $nick } }
n275=#modeprot end
n276=
n277=#topicprot off
n278=on @1:TOPIC:%tpchan:if ($chan($chan).topic != %tptopic) { topic $chan %tptopic | if (%prot.level == strict) { .timer 1 1 mode $chan -o $nick | .timer 1 10 mode $chan +o $nick } } 
n279=#topicprot end
n280=alias ppro dialog -m ppro ppro
n281=dialog ppro {
n282=  title "Personel Protection"
n283=  size -1 -1 170 170
n284=  button "&Close !" ,1 , 10 152 70 18,ok
n285=  button "&Help !", 16, 90 152 70 18
n286=  box "", 7, 0 0 170 150
n287=  text "&Protection Type:", 8, 5 10 80 20
n288=  text "&On/Off:", 6, 120 10 45 20
n289=  text "Ban Protection", 9, 5 31 80 20
n290=  text "Deop Protection", 10, 5 52 80 20
n291=  text "Auto Unban", 11, 5 73 80 20
n292=  text "Auto Greet Prot.", 13, 5 94 80 20
n293=  text "Mass Message Prot.", 12, 5 115 80 25
n294=  check "", 2, 130 25 40 20
n295=  check "", 3, 130 46 40 20
n296=  check "", 4, 130 67 40 20
n297=  check "", 14, 130 88 40 20
n298=  check "", 15, 130 125 40 20
n299=}
n300=on *:dialog:ppro:*:16:/acidhelp
n301=on *:dialog:ppro:init:*: {
n302=  if (%banp = On) { did -c ppro 2 }
n303=  if (%ar = On) { did -c ppro 3 }
n304=  if (%autou = On) { did -c ppro 4 }
n305=  if (%autgrt = On) { did -c ppro 14 }
n306=  if (%mssmsg = On) { did -c ppro 15 }
n307=}
n308=on 1:dialog:ppro:*:2: { 
n309=  if (%banp = Off) { /set %banp On | /.enable #banprot }
n310=  else { /set %banp Off | /.disable #banprot | }
n311=}
n312=on 1:dialog:ppro:*:3: { 
n313=  if (%ar = Off) { /set %ar On | /.enable #autoreop | }
n314=  else { /set %ar Off | /.disable #autoreop | }
n315=}
n316=on 1:dialog:ppro:*:4: { 
n317=  if (%autou = Off) { /set %autou On | /.enable #autounban | }
n318=  else { /set %autou Off | /.disable #autounban | }
n319=}
n320=on 1:dialog:ppro:*:14: { 
n321=  if (%autgrt = Off) { /set %autgrt On }
n322=  else { /set %autgrt Off | }
n323=}
n324=on 1:dialog:ppro:*:15: { 
n325=  if (%mssmsg = Off) { /set %mssmsg On }
n326=  else { /set %mssmsg Off }
n327=}
n328=#autoreop on
n329=on 1:DEOP:#: {
n330=  if ( $opnick == $me ) && ( $nick != $me ) {
n331=    echo $active 7( 6Attempting to Reop you in9 $chan 7) - ( 6You Were Deoped By9 $nick 7)    
n332=    .msg ChanServ OP $chan $opnick
n333=  }
n334=}
n335=else { halt }
n336=
n337=#autoreop end
n338=
n339=#autounban on
n340=on 1:Ban:#: {
n341=  if ( %banon == off ) { halt }
n342=  else {
n343=    if ( $bnick == $me ) {
n344=      %drnick = $nick
n345=      %drchan = $chan
n346=      echo -a 7( 6Attempting to Unban you in The Channel 7)    
n347=      .msg chanserv unban # Me
n348=      /mode %drchan -o %drnick
n349=      timer 1 4 /join #
n350=      unset %drnick | unset %drchan
n351=    }
n352=    else { halt }
n353=  }
n354=}
n355=
n356=#autounban end
n357=
n358=#banprot on
n359=on @1:BAN:#: {
n360=  if ($banmask iswm $address($me,0)) { /mode $chan -o $nick | /notice $nick %acid Ban Protection | /mode $chan -b $banmask }
n361=  if ($banmask iswm $address($me,1)) { /mode $chan -o $nick | /notice $nick %acid Ban Protection | /mode $chan -b $banmask }
n362=  if ($banmask iswm $address($me,2)) { /mode $chan -o $nick | /notice $nick %acid Ban Protection | /mode $chan -b $banmask }
n363=  if ($banmask iswm $address($me,3)) { /mode $chan -o $nick | /notice $nick %acid Ban Protection | /mode $chan -b $banmask }
n364=  if ($banmask iswm $address($me,4)) { /mode $chan -o $nick | /notice $nick %acid Ban Protection | /mode $chan -b $banmask }
n365=  if ($banmask iswm $address($me,5)) { /mode $chan -o $nick | /notice $nick %acid Ban Protection | /mode $chan -b $banmask }
n366=}
n367=#banprot end
n368=
n369=on *:text:*:?:{
n370=  if (%mssmsg == On) {
n371=    if (Mass Message isin $1-) { .ignore -u60 $nick 2 | notice $nick I don't appreciate you Mass messages. Your ignored for 1 minute. %acid }
n372=    if (Mass msg isin $1-) { .ignore -u60 $nick 2 | notice $nick I don't appreciate you Mass messages. Your ignored for 1 minute. %acid }
n373=    if (Mass Notice isin $1-) { .ignore -u60 $nick 2 | notice $nick I don't appreciate you Mass messages. Your ignored for 1 minute. %acid }
n374=  }
n375=  if (%autgrt == On) {
n376=    if (I*m using isin $1-) { .ignore -u30 $nick 2 | notice $nick I don't appreciate you Auto Greet messages, turn them off. Your ignored for 30 seconds. %acid }
n377=  }
n378=}
n379=on *:join:#:{
n380=  cline 7 $chan $nick
n381=  if ($nick == $me) { .timeronjoin 1 1 cline 6 # $me | .timeronjoin2 1 6 who $chan }
n382=}
n383=on ^1:op:#:{ 
n384=  if ($opnick == $me) { halt } | else { cline 4 $chan $opnick }
n385=}
n386=on ^1:deop:#:{
n387=  if ($opnick == $me) { halt } | else { cline 7 $chan $opnick }
n388=}
n389=raw 352:*:{
n390=  if ($6 == $me) { cline 9 $2 $me | goto end }
n391=  if ($nick == $me) { goto end }
n392=  if ($6 isop $2) { 
n393=    if (G isin $7) { cline 12 $2 $6 | halt }
n394=    else { cline 4 $2 $6 | halt }
n395=  }
n396=  if ($6 isvo $2) {
n397=    if (G isin $7) { cline 12 $2 $6 | halt }
n398=  }
n399=  if (G isin $7) { cline 12 $2 $6 | halt }
n400=  else { cline 7 $2 $6 }
n401=  :end
n402=}
n403=alias greeters dialog -m greeters greeters
n404=dialog greeters {
n405=  title "Auto Greeters"
n406=  size -1 -1 300 115
n407=  button "&Close !", 1, 50 90 200 20,ok
n408=  box "&Join Greet:", 2, 0 0 300 40
n409=  box "&Private Greet:", 3, 0 45 300 40
n410=  edit "", 4, 50 15 240 20, autohs
n411=  edit "", 5, 50 60 240 20, autohs
n412=  check "&On", 6, 10 15 35 20
n413=  check "&On", 7, 10 60 35 20
n414=}
n415=on *:dialog:greeters:*:4:{ /set %autg.msg $did(greeters,4).text | halt }
n416=on *:dialog:greeters:*:5:{ /set %priv.msg $did(greeters,5).text | halt }
n417=on *:dialog:greeters:init:*: {
n418=  if (%autg = On) { did -c greeters 6 }
n419=  if (%priv = On) { did -c greeters 7 }
n420=  if (%autg.msg != none) { did -ra greeters 4 %autg.msg }
n421=  if (%priv.msg != none) { did -ra greeters 5 %priv.msg }
n422=}
n423=on 1:dialog:greeters:*:6: { 
n424=  if (%autg = Off) { /set %autg On | /.enable #autg }
n425=  else { /set %autg Off | /.disable #autg }
n426=}
n427=on 1:dialog:greeters:*:7: { 
n428=  if (%priv = Off) { /set %priv On | /.enable #privgreet }
n429=  else { /set %priv Off | /.disable #privgreet }
n430=}
n431=dialog cred {
n432=  title "Acid 1.0 Credits"
n433=  size -1 -1 320 200
n434=  button "&Close !", 1, 10 170 300 25,ok
n435=  list  2, 1 1 320 180 
n436=}
n437=dialog readme {
n438=  title "Acid 1.0 ReadMe"
n439=  size -1 -1 320 200
n440=  list  2, 1 1 320 180 
n441=  button "&Credits", 1, 5 170 150 25
n442=  button "&Close !", 3, 165 170 150 25,ok
n443=}
n444=on *:dialog:readme:*:1:/cred