mIRC Home    About    Download    Register    News    Help

Print Thread
mIRC v7.17 possible bugs #229701 14/02/11 07:23 PM
Joined: Apr 2010
Posts: 4
H
Hrki Offline OP
Self-satisified door
OP Offline
Self-satisified door
H
Joined: Apr 2010
Posts: 4
//echo -a $asc(,)

doesnt work

//echo -a $chr(45)

can't repeat echo two or more time (only one displays)

Last edited by Hrki; 14/02/11 07:39 PM.
Re: mIRC v7.17 possible bugs [Re: Hrki] #229702 14/02/11 07:34 PM
Joined: Jul 2006
Posts: 3,715
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,715
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)

Last edited by Wims; 14/02/11 07:41 PM.

Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: mIRC v7.17 possible bugs [Re: Hrki] #229705 14/02/11 07:57 PM
Joined: Apr 2010
Posts: 4
H
Hrki Offline OP
Self-satisified door
OP Offline
Self-satisified door
H
Joined: Apr 2010
Posts: 4
Thx for fast reply!

Re: mIRC v7.17 possible bugs [Re: Hrki] #229708 14/02/11 08:11 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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


Invision Support
#Invision on irc.irchighway.net
Re: mIRC v7.17 possible bugs [Re: Hrki] #229719 14/02/11 09:57 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
FYI: Normal characters, excluding Unicode/Code Page specific, can be viewed with their respective ascii values here