nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Mar 01, 2009 1:26 pm Post subject: |
|
|
The ~-file is merely a temporary cache created by gedit, partly to allow you to resume editing upon a crash without having to save every 2 seconds. I assume you remembered to save in gedit, and .rehash/.restart in eggdrop?
Are there any other functions/scripts/programs accessing that triggers.txt file? Most linux and *bsd systems allows one file to be opened in multiple instances under certain conditions. More so, one may open a file for writing while some other process has opened it for reading. In this case, the other process will not see your changes until it closes the file and opens it again for reading.
This is flawed (yet unrelated to your issues):
| Code: | set thestb [lindex $text 1]
#use this instead
set thestb [lindex [split $text] 1]
#Same goes for this line
puts $out [lrange $text 1 end] |
_________________ NML_375, idling at #eggdrop@IrcNET |
|