| View previous topic :: View next topic |
| Author |
Message |
kato Voice
Joined: 23 Mar 2008 Posts: 16
|
Posted: Sun Apr 06, 2008 3:58 pm Post subject: how to create a file? SOLVED!! |
|
|
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 |
|
| Back to top |
|
 |
glynn2105 Voice
Joined: 06 Apr 2008 Posts: 3
|
Posted: Sun Apr 06, 2008 4:34 pm Post subject: |
|
|
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 |
|
 |
kato Voice
Joined: 23 Mar 2008 Posts: 16
|
Posted: Sun Apr 06, 2008 6:29 pm Post subject: dir |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Mon Apr 07, 2008 12:08 am Post subject: |
|
|
The following command at your shell prompt should create the file in "proper" place:
| Code: | | touch /home/geetob/data/tcdevents.txt |
|
|
| Back to top |
|
 |
kato Voice
Joined: 23 Mar 2008 Posts: 16
|
Posted: Mon Apr 07, 2008 4:53 pm Post subject: arrrg |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Apr 07, 2008 4:55 pm Post subject: |
|
|
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 |
|
 |
kato Voice
Joined: 23 Mar 2008 Posts: 16
|
Posted: Mon Apr 07, 2008 7:34 pm Post subject: |
|
|
| 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 |
|
 |
|