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 

reading from ini files

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


Joined: 10 Jan 2006
Posts: 1

PostPosted: Tue Jan 10, 2006 7:06 pm    Post subject: reading from ini files Reply with quote

I am currently porting some scripts from mIRCscript format into an eggdrop bot. I have come across some of the script which uses an ini file, and I am trying to work out if ini files are supported by eggdrop. I know that tcl 8.2 supports ini files with the command inifile (see http://tcllib.sourceforge.net/doc/ini.html for more) but I don't know whether this means my eggdrop will. Has anyone got any experience in using ini files with eggdrop and can offer me some handy hints?

I'm reasonably experienced in scripting/programming in general, I just haven't done much eggdrop or tcl before, so somewhere between spoonfeeding and a bit more complicated seems like a good level to pitch for. Thanks in advance
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Jan 10, 2006 11:32 pm    Post subject: Reply with quote

windrop will support that, eggdrop on Linux/UNIX system will not
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Thu Jan 12, 2006 8:24 am    Post subject: Reply with quote

I dont see the reason why that tcllib would only work on windows. Its a tcllib which source can be executed on any TCL enviroment. I looked into ini.tcl and could find only common TCL commands.
So as long that lib is present you can use it. If it isnt present, install tcllib from the page you posted Razz.
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Jan 13, 2006 12:04 am    Post subject: Reply with quote

yeah, apparently that's the case

I thought it might be somehow using win32 ini APIs, I was wrong
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting 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