mIRC Home    About    Download    Register    News    Help

Print Thread
#14651 09/03/03 12:34 PM
Joined: Dec 2002
Posts: 4
M
MDBen Offline OP
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Dec 2002
Posts: 4
When using /writeini, if the item as a [ or ] in it, it gets changed to ~. Example, /writeini text.ini main [whatever] stuff will look like ~whatever~=stuff in text.ini.

Is there any way i can stop this.

Thanx

#14652 09/03/03 01:57 PM
Joined: Dec 2002
Posts: 212
V
Fjord artisan
Offline
Fjord artisan
V
Joined: Dec 2002
Posts: 212
you can simply replace [ and ] with some other chars when doing /writeini, and later when doing $readini replace them back


And all I need now is intellectual intercourse, a soul to dig the hole much deeper
#14653 09/03/03 02:18 PM
Joined: Jan 2003
Posts: 237
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Jan 2003
Posts: 237
have you tryed:
Code:
/writeini text.ini main $chr(91) $+ whatever $+ $chr(93) stuff



;Check for Life

if (%life == $null) {
goto getlife
}

Link Copied to Clipboard