Created
August 14, 2013 16:20
-
-
Save landongn/6232718 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set exclusive-mode 1 | |
set max-queue-msg 102400 | |
namespace eval ::killscript { | |
variable debug 1 | |
set script(name) "killscript.tcl" | |
set script(version) "1.5.1" | |
setudef flag killscript | |
set filename(lexicon) "killscript.txt" | |
set filename(dictionary) "killscript.dictionary" | |
set filename(quotes) "killscript.quotes" | |
if { ![info exists running] } { variable running 0 } | |
foreach files [array names filename] { | |
if { ![file exists $filename($files)] } { | |
set file [open $filename($files) w] | |
if { $debug } { | |
putlog "$script(name): Created $filename($files)" | |
} | |
close $file | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment