Last active
January 2, 2016 05:39
-
-
Save Atlas48/8258303 to your computer and use it in GitHub Desktop.
A small error preventer I got from some site.
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
#replace thescript.tcl with script name | |
#Desinged for use with Eggdrop | |
if {[catch {source scripts/thescript.tcl>}] err} { | |
putlog "Error while loading thescript.tcl: $err" | |
} else { | |
putlog "thescript.tcl loaded without errors" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment