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.
Help for those learning Tcl or writing their own scripts.
tueb
Halfop
Posts: 76 Joined: Thu Oct 04, 2007 6:09 am
Location: #quiz.de @ irc.gamesurge.net
Contact:
Post
by tueb » Thu Feb 05, 2009 8:48 am
Hi,
is there an command to create a new folder?
thx,
tueb
Last edited by
tueb on Thu Feb 05, 2009 1:05 pm, edited 1 time in total.
DaRkOoO
Halfop
Posts: 67 Joined: Sat Sep 27, 2008 7:27 am
Post
by DaRkOoO » Thu Feb 05, 2009 9:42 am
mkdir foldername
arfer
Master
Posts: 436 Joined: Fri Nov 26, 2004 8:45 pm
Location: Manchester, UK
Post
by arfer » Thu Feb 05, 2009 11:10 am
In Tcl the full command syntax is :-
file mkdir dir ?dir ...?
mkdir used alone is Eggdrop Tcl used for the bot's filesystem and, as far as I am aware, requires that the filesys module is loaded (it is not loaded by default).
tueb
Halfop
Posts: 76 Joined: Thu Oct 04, 2007 6:09 am
Location: #quiz.de @ irc.gamesurge.net
Contact:
Post
by tueb » Thu Feb 05, 2009 12:47 pm
thx, I will try that
PS: the one with "file" in fropnt worked:
tueb
Halfop
Posts: 76 Joined: Thu Oct 04, 2007 6:09 am
Location: #quiz.de @ irc.gamesurge.net
Contact:
Post
by tueb » Thu Feb 05, 2009 2:35 pm
..and how do i check if a folder already exists? =)
tueb
Halfop
Posts: 76 Joined: Thu Oct 04, 2007 6:09 am
Location: #quiz.de @ irc.gamesurge.net
Contact:
Post
by tueb » Fri Feb 06, 2009 12:36 pm
thx