PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: EXNET OWNER on 25 August, 2004, 11:38:07

Title: how do i make a .ini file for my script???
Post by: EXNET OWNER on 25 August, 2004, 11:38:07
I have a script with the following variables:

BotName = "-?P?OwL???-"
Description = "I don't upload because I'm hosting iight :D"
Connection = "LAN (T3)"
Version = "0.403"
Mode = "A"
HubsOp = "2"
HubsReg = "2"
HubsGuest = "0"
Slots = "3"
Tag = "<++ V:"..Version..",M:"..Mode..",H:"..HubsGuest.."/"..HubsReg.."/"..HubsOp..",S:"..Slots..">"
Email = "Anarchy@hotmail.com"
Share = 10740000010 -- In Bytes not KB, MB or GB

I need to make the script read settings from a .ini (config) file and it is the first time I have done it, any help?   ?(

Thanks
Title:
Post by: Typhoon on 25 August, 2004, 12:58:13
QuoteOriginally posted by EXNET OWNER
I have a script with the following variables:

BotName = "-?P?OwL???-"
Description = "I don't upload because I'm hosting iight :D"
Connection = "LAN (T3)"
Version = "0.403"
Mode = "A"
HubsOp = "2"
HubsReg = "2"
HubsGuest = "0"
Slots = "3"
Tag = "<++ V:"..Version..",M:"..Mode..",H:"..HubsGuest.."/"..HubsReg.."/"..HubsOp..",S:"..Slots..">"
Email = "Anarchy@hotmail.com"
Share = 10740000010 -- In Bytes not KB, MB or GB

I need to make the script read settings from a .ini (config) file and it is the first time I have done it, any help?   ?(

Thanks



Try and look here there is step by step what you need to do and to change

http://board.univ-angers.fr/thread.php?threadid=2630&boardid=4&page=1#2


*** Typhoon?