Tcl error [UnReal]: child killed: segmentation violation
this is the code i use:
Code: Select all
set vara [exec /home/shock/eggdrop/players $mess3 > /tmp/players]
set of [open "/tmp/players"]
while {![eof $of]} {
set line [gets $of]
if {$line != ""} {
puthelp "PRIVMSG $chan : $line"
}
}
return 0
}
set vara [exec /home/shock/eggdrop/players $mess3 > /tmp/players]
thats the line cosing it, how can i make shure the file /tmp/payers exist ? i dont know how i can add a line that says "true" or "false", somone that have any ideas?
