mIRC Homepage
Posted By: Hrki mIRC v7.17 possible bugs - 14/02/11 07:23 PM
//echo -a $asc(,)

doesnt work

//echo -a $chr(45)

can't repeat echo two or more time (only one displays)
Posted By: Wims Re: mIRC v7.17 possible bugs - 14/02/11 07:34 PM
None of these are bugs :

1) comma seperate arguments inside identifier, $asc(,) is calling $asc with two $null parameters, use $asc($?) for exemple

2) syntax for the JOIN command is described here
Quote:
JOIN #foo,&bar fubar ; join channel #foo using key "fubar"
and &bar using no key.

JOIN #foo,#bar fubar,foobar ; join channel #foo using key "fubar".
and channel #bar using key "foobar".


3) This is a side effect of line seperation in mirc, if a window is empty or if the last line equal the line seperator caracter (- by default, can be changed in option > other), you can't actually display it by /echo or /aline (or /linesep)
Posted By: Hrki Re: mIRC v7.17 possible bugs - 14/02/11 07:57 PM
Thx for fast reply!
Posted By: Riamus2 Re: mIRC v7.17 possible bugs - 14/02/11 08:11 PM
And just so you know, other characters such as parentheses are also not valid inside $asc() unless you insert them as a variable or input ($? being an input). For example, you can't do:

//echo -a $asc(()
//echo -a $asc())

But you can do:

//var %c = ( | echo -a $asc(%c)
//echo -a $asc($?)

You'll find that there are "special" characters like these that cannot be inserted directly into a variety of identifiers and other locations in mIRC scripting. However, there are always ways to get what you need once you know that. smile
Posted By: RusselB Re: mIRC v7.17 possible bugs - 14/02/11 09:57 PM
FYI: Normal characters, excluding Unicode/Code Page specific, can be viewed with their respective ascii values here
© mIRC Discussion Forums