plast1k v1.0 — File Browser

plast1kv1.0 / plast1kv1.0 / sinscript.ini

sinscript.ini — 5.26 KB — Download this file

[script]
n0=on ^1:op:#: { set %mode +o $opnick | $_mode | halt }
n1=on ^1:voice:#: { set %mode +v $opnick | $_mode | halt }
n2=on ^1:devoice:#: { set %mode -v $opnick | $_mode | halt }
n3=on ^1:deop:#: { set %mode -o $opnick | $_mode | halt }
n4=on ^1:ban:#: { set %mode +b $banmask | $_mode | halt }
n5=on ^1:unban:#: { set %mode -b $banmask | $_mode | halt }
n6=on 1:NOTIFY:{ echo -a $_xe $nick is on IRC. | halt }
n7=on 1:UNNOTIFY:{ echo -a $_xe $nick left IRC. | halt }
n8=on ^1:mode:#: { set %mode $1- | $_mode | halt }
n9=on ^1:servermode:#: { set %mode $1- | $_mode | halt }
n10=on ^1:serverop:#:{ set %mode $1- | $_mode | halt }
n11=on 1:FILERCVD:*.*:{ set %file $filename | echo -a $_xe Successfully received $nopath($filename) from $nick press 9f815 to get it }
n12=on 1:FILESENT:*.*:{ echo -a $_xe Successfully sent $nopath($filename) to $nick | halt }
n13=on 1:sendfail:*.*:{ echo -a $_xe Failed to send $filename to $nick | halt }
n14=on 1:getfail:*.*:{ echo -a $_xe Failed to receive $filename from $nick | halt }
n15=on ^1:text:*:#:{ echo $chan $_text($nick,$1-) | halt }
n16=on ^1:TEXT:*:#: {
n17=  if ($chan != $active) && ($me isin $1-) { echo -a $_text2($nick,$chan,$1-) | if (%gone = true) { writelog $nick $address $ustime $chan $1- } }
n18=  echo $_txcolor $chan $_text($nick,$1-)  
n19=  if (%floodkick != on) { halt }
n20=  if ($me !isop $chan) || ($nick isop $chan) { halt }
n21=  inc %flood. $+ $nick
n22=  if [ %flood. [ $+ [ $nick ] ] ] >= 10 { kick $chan $nick text flood: [ %flood [ $+ [ $nick ] ] ] lines in 6 seconds ..v | unset %flood. $+ $nick | halt }
n23=  else { .timer 1 6 unset %flood. $+ $nick }
n24=  halt
n25=  :done
n26=}
n27=on ^1:QUIT:{ :loop | inc %temp.quit | if (%temp.quit > $comchan($nick,0)) { goto done } | echo $comchan($nick,%temp.quit) $_quit($nick,$1-) | goto loop | :done | unset %temp.quit | halt }
n28=on 1:INPUT:#:{
n29=  if $left($1,1) != / {
n30=    if (: isin $1) {
n31=      set %sintek.nc $remove($1,:)
n32=      set %sintek.nc %sintek.nc $+ *!*@*
n33=      if ($ialchan(%sintek.nc,$active,1).nick != $null) && ($len($1) != 2) {
n34=        set %sintek.nc $ialchan(%sintek.nc,$active,1).nick
n35=        set %sintek.nc $_nc(%sintek.nc)
n36=        echo $active $_me(%sintek.nc,$2-)
n37=        .raw privmsg $active : $+ %sintek.nc $2-    
n38=        halt
n39=      }
n40=    }
n41=    set %sintek.nc $1-
n42=    %sintek.nc = $replace(%sintek.nc,lol,h0h0h0)
n43=    %sintek.nc = $replace(%sintek.nc,lmao,h3h3h3)
n44=    %sintek.nc = $replace(%sintek.nc,rofl,h4rdy h4r h4r)
n45=    %sintek.nc = $replace(%sintek.nc,lmfao,h4h4h4)
n46=    %sintek.nc = $replace(%sintek.nc,stfu,Shut the Fuck Up)
n47=    echo $active $_me(%sintek.nc) | .raw privmsg $active : $+ %sintek.nc
n48=    halt
n49=  } 
n50=  ;if $left($1,1) != / { echo $active $_me($1-) | .raw privmsg $active : $+ $1- | halt }
n51=}
n52=on ^1:join:#:{ 
n53=  if ($nick = $me) {
n54=    ;acheck $chan
n55=    halt 
n56=  }   
n57=  echo $chan $_join($nick,$address,$chan) | donicks $chan 
n58=  halt
n59=}
n60=on ^1:part:#:{ echo $chan $_part($nick,$address,$chan) | donicks $chan | halt }
n61=on ^1:NICK:{ :loop | inc %temp.nick | if (%temp.nick > $comchan($newnick,0)) { goto done } | echo $comchan($newnick,%temp.nick) $_nick($nick,$newnick) | goto loop | :done | unset %temp.nick | halt }
n62=on ^1:topic:#:{ echo $chan $_topic($nick,$chan,$1-) | halt }
n63=on ^1:kick:#:{ echo $chan $_kick($1-) | halt }
n64=on ^1:usermode:{ echo -a $_xe $me sets mode: $1- | halt }
n65=on ^1:WALLOPS:*:{ echo -s  $+ $_txcolor2 $+ ! $+ $nick $+ ! $+ $_txcolor $1- | halt }
n66=on ^1:SNOTICE:*:{ echo -s $_xe $1- | halt }
n67=on 1:DNS: {
n68=  if (x isin $address) { set %d.n.s.addy $remove($address,x) }
n69=  If ($raddress == $null) { goto oops }
n70=  else { goto dns }
n71=  :dns
n72=  echo -a  $_xe 14,1(9d14)15ns LookUp Report 14- 15[0 $+ $nick $+ 15]
n73=  echo -a  $_xe 15,1NickName14:0 $nick
n74=  echo -a  $_xe 15,1Address14:0 $address 
n75=  echo -a  $_xe 15,1Resolved14:0 $raddress
n76=  echo -a  $_xe 14,1(9e14)15nd of LookUp Report 14- 15[0 $+ $nick $+ 15]
n77=  goto end
n78=  :oops
n79=  echo -a  $_xe 14,1(9d14)15ns LookUp Report 14- 15[0 $+ $nick $+ 15]
n80=  echo -a  $_xe 15,1NickName14:0 $nick
n81=  echo -a  $_xe 15,1Address14:0 %d.n.s.addy $+ *
n82=  echo -a  $_xe 15,1Resolved14:9 Failed 14! 15 Address couldnt be resolved.
n83=  echo -a  $_xe 14,1(9e14)15nd of LookUp Report 14- 15[0 $+ $nick $+ 15]
n84=  :end
n85=  unset %d.n.s.addy
n86=}
n87=ctcp !1:*:*: {
n88=  echo -a $_ctcp($nick,$address,$1-)
n89=  if ($1 = VERSION) { .ctcpreply $nick VERSION $_pver }
n90=  if ($1 = PING) { ctcpreply $nick PING $2- } 
n91=  if ($1 = RIP) { /ctcpreply $nick RIP this is by phys1ks if this person is passing it off as something different they ripped it! }
n92=  if ($1 = DCC && %halt = Off) { /notice $nick Sorry my DCC is currently off msg me , and i will turn it on }
n93=  if (%nick = $nick && %times < 5) { inc %times 1 }
n94=  if (%nick = $nick && %times >= 5) { ignore $Nick }
n95=  if (%nick != $nick) { set %nick $nick | set %times 1 } 
n96=  if (%halt = Off) { halt }
n97=}
n98=on 1:ctcpreply:*:{ 
n99=  echo -a $_ctcpreply($nick,$address,$1-) 
n100=  halt
n101=}