Code: Select all
#! /path/to/eggdrop
Code: Select all
# ./eggdrop.conf
Code: Select all
# ./eggdrop eggdrop.conf
Code: Select all
#! /home/me/eggie/eggdrop
Code: Select all
$ ./eggdrop -m config.conf
Eggdrop v1.6.19 (C) 1997 Robey Pointer (C) 2008 Eggheads
[20:27] --- Loading eggdrop v1.6.19 (Sat Dec 11 2010)
[20:27] Tcl error in file 'config.conf':
[20:27] invalid command name "#!"
while executing
"#! /home/cr4sh/eggdrop"
(file "config.conf" line 1)
[20:27] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Code: Select all
$ ./eggdrop config.conf
Eggdrop v1.6.19 (C) 1997 Robey Pointer (C) 2008 Eggheads
[20:37] --- Loading eggdrop v1.6.19 (Sat Dec 11 2010)
[20:37] Tcl error in file 'config.conf':
[20:37] invalid command name "#"
while executing
"# ^- This should contain a fully qualified path to your Eggdrop executable."
(file "config.conf" line 1)
[20:37] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Code: Select all
puts stdout "Starting up... next comes a comment..."
# This is the first comment..
#This is the second one...
puts stdout "If you see this, just below the \"Starting up\" line, comments seem to work as intended"
Code: Select all
H4ckmaniac Desktop # tclsh try.tcl
Starting up... next comes a comment...
If you see this, just below the "Starting up" line, comments seem to work as intended