Skip to content

Instantly share code, notes, and snippets.

View Atlas48's full-sized avatar

Atlas Cove Atlas48

  • @kompot-studios
  • Sainte-Marguerite D'Elle, France
View GitHub Profile
@Atlas48
Atlas48 / Error preventer.tcl
Last active January 2, 2016 05:39
A small error preventer I got from some site.
#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"
}