All pastes #744997 Raw Edit

Untitled

public text v1 · immutable
·published 2007-10-21 23:03 UTC
rendered paste body
[script]
n0=on ^*:TEXT:*:#:{
n1=  echo $color(normal text) -lmi2 $chan %timestampprefix $+ $asctime(%timestamp) $+ %timestampsuffix $+ %otherprefix $+ [ [ %other ] ] $+ %othersuffix $+ $strip($1-,m)
n2=  haltdef
n3=}
n4=
n5=on *:INPUT:#:{
n6=  if ( ($left($1,3) == /me) && (!$ctrlenter) ) {
n7=    .me $chan $2-
n8=    echo $color(action text) -lmi2 $chan %timestampprefix $+ $asctime(%timestamp) $+ %timestampsuffix $+ %actionprefix $me $strip($2-,m) %actionsuffix 
n9=    halt
n10=    return
n11=  }
n12=  if ( ($left($1,4) == /say) && (!$ctrlenter) ) {
n13=    .msg $chan $2-
n14=    echo $color(own text) -mi2 $chan %timestampprefix $+ $asctime(%timestamp) $+ %timestampsuffix $+ %selfprefix $+ [ [ %self ] ] $+ %selfsuffix $2-
n15=    halt
n16=    return
n17=  }
n18=  if ( ($left($1,1) == /) && (!$ctrlenter) ) { return }
n19=  .msg $chan $1-
n20=  echo $color(own text) -mi2 $chan %timestampprefix $+ $asctime(%timestamp) $+ %timestampsuffix $+ %selfprefix $+ [ [ %self ] ] $+ %selfsuffix $1-
n21=  halt
n22=}
n23=
n24=on ^*:ACTION:*:#:{
n25=  echo $color(action text) -lmi2 $chan %timestampprefix $+ $asctime(%timestamp) $+ %timestampsuffix $+ %actionprefix $nick $strip($1-,m) %actionsuffix 
n26=  haltdef
n27=}
n28=
n29=on ^*:JOIN:#:{
n30=  echo $color(join text) -lmi2 $chan %timestampprefix $+ $asctime(%timestamp) $+ %timestampsuffix $+ %joinprefix $nick $strip($1-,m) [ [ %joinsuffix ] ]
n31=  haltdef
n32=}
n33=
n34=;on ^*:QUIT:{
n35=;  echo $color(quit text) -lmi2 # %timestampprefix $+ $asctime(%timestamp) $+ %timestampsuffix $+ %quitprefix $nick $strip($1-,m)  [ [ %quitsuffix ] ]
n36=;  haltdef
n37=;}
n38=
n39=on ^*:PART:#:{
n40=  echo $color(join text) -lmi2 $chan %timestampprefix $+ $asctime(%timestamp) $+ %timestampsuffix $+ %partprefix $nick ( $+ $strip($1-,m) $+ ) [ [ %partsuffix ] ]
n41=  haltdef
n42=}
n43=
n44=on ^*:RAWMODE:#:{
n45=  echo $color(mode text) -lmi2 $chan %timestampprefix $+ $asctime(%timestamp) $+ %timestampsuffix $+ %modeprefix 5 $+ $nick $+ 1 sets mode:5 $strip($1-,m)  [ [ %modesuffix ] ]
n46=  haltdef
n47=}
[variables]
n0=%timestampprefix 01(
n1=%timestamp HH:n:ss
n2=%timestampsuffix 01) 
n3=
n4=%selfprefix [4
n5=%selfsuffix ]: 
n6=%self $nick(#,$me).pnick
n7=
n8=%other $nick(#,$nick).pnick
n9=%otherprefix [
n10=%othersuffix ]: 
n11=
n12=%actionprefix *
n13=%actionsuffix *
n14=
n15=%joinprefix 1—›14 
n16=%joinsuffix 01has joined $chan $+ .
n17=
n18=%partprefix 1‹—14 
n19=%partsuffix 01has left $chan $+ .
n20=
n21=
n22=%modeprefix 1::
n23=%modesuffix 01in $chan $+ .