mIRC Home    About    Download    Register    News    Help

Print Thread
#257855 21/05/16 03:55 PM
Joined: Jan 2016
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Jan 2016
Posts: 19
When looking for the ASCII number of a few characters I have been getting

Quote:
* /echo: insufficient parameters


Specifically, $asc(}) and $asc({)

Also $asc(,) returns

Quote:
* Too many parameters: $asc


I am unsure if this is a bug, but I thought it may be worth finding out.

Edit: This has been described to me as a syntax error on my part from manually typing //echo -s $asc(,) e.t.c. and is the expected behavior, which I had assumed it was any way.

Last edited by Stewie1k94; 21/05/16 04:28 PM.
Stewie1k94 #257931 24/05/16 12:28 PM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Try to use: $asc($eval(},0))

Does not work only ( ) characters.


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #257933 24/05/16 03:06 PM
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
Also, $asc($?) is pretty convenient. Then just write the character in the editbox.


Saturn, QuakeNet staff
Sat #257934 24/05/16 03:17 PM
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Aha, yes that's better!


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard