Scripterrors
From Eggdrop Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
To avoid Eggdrop crashing when an error in a scriptfile occurs: | To avoid Eggdrop crashing when an error in a scriptfile occurs: | ||
- | Do this for every | + | Do this for every script that might raise errors while loading it: |
{{Changefile|file=eggdrop.conf|text= | {{Changefile|file=eggdrop.conf|text= |
Revision as of 19:48, 27 May 2012
To avoid Eggdrop crashing when an error in a scriptfile occurs: Do this for every script that might raise errors while loading it:
Open the eggdrop.conf file in your editor.
Search for
source scripts/thescript.tcl
and replace it with
if {[catch {source scripts/thescript.tcl} err]} { putlog "Error while loading thescript.tcl: $err" } else { putlog "thescript.tcl loaded without errors" }