mIRC Home    About    Download    Register    News    Help

Print Thread
#193954 27/01/08 05:42 PM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
test.ini

[section]
hello hello=blahh

$readini(test.ini, section, hello hello)

it echos hello instead of blahh

why does it do this?

pouncer #193955 27/01/08 05:44 PM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Originally Posted By: pouncer
why does it do this?


Interesting philosophical question - that's like asking why things are the way things are.

Why does gravity exist? Why do things move in a straight line unless acted by another force?

Best of luck with that.

-Neal.

LostShadow #193956 27/01/08 05:50 PM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
oh i see, i didn't know it was like asking that

so this is just the way ini files are? the item name can only be 1 word?

pouncer #193957 27/01/08 05:52 PM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
The mIRC help file used this as an example.

[DDE]
ServerStatus=on
ServiceName=mirc

And they used it as 1 word. So try using that.

-Neal.


pouncer #193968 27/01/08 06:49 PM
Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033

Yes the items can only be one word.


Link Copied to Clipboard