mIRC Home    About    Download    Register    News    Help

Print Thread
#153927 24/07/06 03:51 PM
Joined: Nov 2003
Posts: 67
C
Canario Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
I have an ini file with this info:

[events]
ban=14 <nick> pone ban a14 <banmask>
join=3Entra14 <nick> 3[<address>3]

Everything is ok but.... when I make /echo the first control code isn´t echoing

The /echo of $readini(file.ini,events,join) shows something like that 3Entra14 <nick> 3[<address>3]

Any idea? Thanks


irc.universochat.net
#escripting
Joined: Apr 2004
Posts: 218
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Apr 2004
Posts: 218
It appears this is an mIRC problem, it will start returning text up only when it reaches its first letter/numerical character and there after.

I tested this, it can be solved by adding "$chr(32) $+" after the item.
(eg. ban=$chr(32) $+ <control codes> test here etc)

For me, it returned the propper line when I added that. I also noticed that mIRC _will_not_ write control characters to an INI file even when evaluted with /. maybe a "plain text" flag should be added to the /writeini command?


Live to Dream & Dream for Life
Joined: Nov 2003
Posts: 67
C
Canario Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
Thanks for your help


irc.universochat.net
#escripting

Link Copied to Clipboard