egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to create a file? SOLVED!!

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
kato
Voice


Joined: 23 Mar 2008
Posts: 16

PostPosted: Sun Apr 06, 2008 3:58 pm    Post subject: how to create a file? SOLVED!! Reply with quote

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 Question


Last edited by kato on Mon Apr 07, 2008 7:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
glynn2105
Voice


Joined: 06 Apr 2008
Posts: 3

PostPosted: Sun Apr 06, 2008 4:34 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
kato
Voice


Joined: 23 Mar 2008
Posts: 16

PostPosted: Sun Apr 06, 2008 6:29 pm    Post subject: dir Reply with quote

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
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Mon Apr 07, 2008 12:08 am    Post subject: Reply with quote

The following command at your shell prompt should create the file in "proper" place:
Code:
touch /home/geetob/data/tcdevents.txt
Back to top
View user's profile Send private message
kato
Voice


Joined: 23 Mar 2008
Posts: 16

PostPosted: Mon Apr 07, 2008 4:53 pm    Post subject: arrrg Reply with quote

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
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Apr 07, 2008 4:55 pm    Post subject: Reply with quote

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.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
kato
Voice


Joined: 23 Mar 2008
Posts: 16

PostPosted: Mon Apr 07, 2008 7:34 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber