All pastes #465446 Raw Edit

Unnamed

public text v1 · immutable
#465446 ·published 2007-04-30 10:48 UTC
rendered paste body
on *:input:!loggin on*:#:{
  set %loggedchannel $chan
  /notice [-Capo-] Logging is now on.
  notice $nick Logging is now on.
  write logging.txt * Logging has been turned on in $chan at $time $+ , $fulldate $+ .
}
}
on *:input:!loggin off*:#:{
unset %loggedchannel
/notice [-Capo-] Logging is now off.
notice $nick Logging is now off.
write logging.txt * Logging has been turned off in $chan at $time $+ , $fulldate $+ .
}
}
on *:text:*:#:{
if ($nick isop %loggedchannel) {
write logging.txt ( $+ $time $+ ) <@ $+ $nick $+ > $1-
}
if ($nick ishop %loggedchannel) {
write logging.txt ( $+ $time $+ ) <% $+ $nick $+ > $1-
}
if ($nick isvoice %loggedchannel) {
write logging.txt ( $+ $time $+ ) <+ $+ $nick $+ > $1-
}
if ($nick isreg %loggedchannel) {
write logging.txt ( $+ $time $+ ) < $+ $nick $+ > $1-
}
}
on *:mode:*:#:{
if ($nick ison %loggedchannel) {
write logging.txt ( $+ $time $+ ) 4 $+ * $nick 7sets mode:4 $1- $+ 
}
}
on *:action:*:#:{
if ($nick ison %loggedchannel) {
write logging.txt ( $+ $time $+ ) 4 $+ * $nick $1- $+ 
}
}
on *:part:#:{
if ($nick ison %loggedchannel) {
write logging.txt ( $+ $time $+ ) 4 $+ * $nick 7has parted4 $chan $+ 7:4 $1- $+ 
}
}
on *:quit:{
if ($nick ison %loggedchannel) {
write logging.txt ( $+ $time $+ ) 4 $+ * $nick 7has quit IRC:4 $1- $+ 
}
}
on *:join:#:{
if ($nick ison %loggedchannel) {
write logging.txt ( $+ $time $+ ) 4 $+ * $nick 7has joined4 $chan $+ 7:4 $1- $+ 
}
}
on *:input:!read*:#:{
play $nick logging.txt
}