Guest User

Untitled

a guest
Dec 11th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.39 KB | None | 0 0
  1.  
  2. bind PUBM - * syntactic_path
  3. setudef flag logscript
  4.  
  5. proc syntactic_path {nick host hand channel text} {
  6.     #do not log unless channel flag set
  7.     if {![channel get $channel logscript]} {
  8.         return
  9.     }
  10.     set parm0 [string trimright [lindex [split $text] 0] ",:;-"]
  11.     switch -regexp $parm0 {
  12.         "nolog" {
  13.             return
  14.         }
  15.         default {
  16.             # put to file
  17.         }
  18.     }
  19.  
  20. }
Add Comment
Please, Sign In to add comment