This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

how to create a file? SOLVED!!

General support and discussion of Eggdrop bots.
Post Reply
k
kato
Voice
Posts: 16
Joined: Sun Mar 23, 2008 7:40 pm

how to create a file? SOLVED!!

Post by kato »

HI all having a problem setting up a tcl I get this error in the bot--> couldn't open "/home/geetob/data/tcdevents.txt": no such file or directory
so my question is how do I create this file on my shell account?, Thanks in advance :?:
Last edited by kato on Mon Apr 07, 2008 7:35 pm, edited 1 time in total.
g
glynn2105
Voice
Posts: 3
Joined: Sun Apr 06, 2008 3:56 pm

Post by glynn2105 »

make a location for the tcdevents.txt

it wont open
home/geetob/data/tcdevents.txt
because it hasnt been created. you have to make that text file and place it in the geetob/data folder
k
kato
Voice
Posts: 16
Joined: Sun Mar 23, 2008 7:40 pm

dir

Post by kato »

ok so then it should be like this
eggdrop1.6.17
home
geetob
data
tcdevents.txt

I still get the same error evne after rehash and a .die and restart

Thanks again in advance to respones
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

The following command at your shell prompt should create the file in "proper" place:

Code: Select all

touch /home/geetob/data/tcdevents.txt
k
kato
Voice
Posts: 16
Joined: Sun Mar 23, 2008 7:40 pm

arrrg

Post by kato »

ok I type that and now have a data folder with the file in it but still ge this--> Tcl error [tcdmsg_date]: couldn't open "/home/geetob/data/tcdevents.txt": no such file or directory

I did a rehash and a die and started the bot again but no luck, any idea would be greatly appricated thanks
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

You're not obliged to use this specific path (unless the script you're using does not have a setting to change it). You can simply place "tcdevents.txt" in your preferred location and set the path accordingly.
k
kato
Voice
Posts: 16
Joined: Sun Mar 23, 2008 7:40 pm

Post by kato »

ok I figured it out I had to add in that line my account name I guess its just how they have it set up but the tcl works great thanks for the hlp it pushed me in the right direction
Post Reply