mIRC Home    About    Download    Register    News    Help

Print Thread
$chr() Reversed feature #190563 22/11/07 06:00 PM
Joined: Nov 2007
Posts: 7
Y
Yosshi Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Y
Joined: Nov 2007
Posts: 7
I was thinking since i can never find the correct chr without having to go through them hundreds of times or without making a list (incomplete one) to make the $chr() feature work in reverse too.

Example: say i dont know what the chr for [ is (even though i do), i just simply type in //echo : $chr([) then hit the return key
the result would echo ": 91" that way i dont have to search for about 10 minutes just trying to find the correct chr code.

Re: $chr() Reversed feature [Re: Yosshi] #190564 22/11/07 06:01 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
An identifier for this already exists, $asc().
eg.

Code:
//echo : $asc([)


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Re: $chr() Reversed feature [Re: starbucks_mafia] #190582 22/11/07 10:46 PM
Joined: Nov 2007
Posts: 7
Y
Yosshi Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Y
Joined: Nov 2007
Posts: 7
im thinking i should look at the help file more >__>