]-[ydrobomb — File Browser

ydrobombv2.2 / ydrobombv2.2 / hydctcp.ini

hydctcp.ini — 1.7 KB — Download this file

[script]
n0=ctcp 1:version {
n1=  raw -q NOTICE $nick : $+ VERSION %ver by Einstein - http://cust2.iamerica.net/sdl/hydro/ $+  
n2=  if %ctcppro == [ON] /.ignore -tu $+ %ctcppro.time $nick 2
n3=  halt
n4=}
n5=ctcp 1:PAGE: {
n6=  if %ctcppro == [ON] /.ignore -tu $+ %ctcppro.time $nick 2
n7=  if %pager == [ON] {
n8=    if %lastpage != $nick {
n9=      if %talk == [ON] {
n10=        speak you were paged by $nick
n11=      }
n12=      else {
n13=        splay page.wav
n14=      }
n15=      echo 4 -a =========PAGE====from==== $+ $nick $+ =========
n16=      raw -q NOTICE $nick : $+ PAGE Received your PAGE, beeping now $+  
n17=      set %lastpage $nick 
n18=    }
n19=  }
n20=  else {
n21=    raw -q NOTICE $nick : $+ PAGE Sorry, pager is OFF $+    
n22=  }
n23=}
n24=ctcp 1:*: {
n25=  if $nick != $me {
n26=    if %autoctcpwall == [ON] {
n27=      inc %autowall 1 
n28=      /.timer 1 30 /dec %autowall 1
n29=      if %autowall == %wallthreshold {
n30=        /.ignore -tu60 *!*@*
n31=        echo 4 -a []-[ydrobomb FLOOD PROTECT]=[AUTOWALL]  $+ %wallthreshold $+  CTCPs received in 30 seconds, CTCP wall activated for 1 minute
n32=        unset %autowall
n33=      }
n34=    }
n35=    if %ctcppro == [ON] /.ignore -tu $+ %ctcppro.time $nick 2 
n36=    if $chan == $null /echo 4 -a $chr(91) $+ $nick $1 $+ $chr(93) $2-
n37=    if %chanctcp == [ON] {
n38=      if $chan != $null {
n39=        if $1 != SOUND {
n40=          echo 4 $chan []-[ydrobomb]=[CHANNEL CTCP]  $+ $1 $2- $+  from  $+ $nick $+ 
n41=        }
n42=      }
n43=    }
n44=  }
n45=  else {
n46=    if $1 = ping {
n47=      raw -q NOTICE $me : $+ PING $2 $+  
n48=      halt
n49=    }
n50=  }
n51=}