He was giving YOU an example with that. You still have not given a sample INPUT and OUTPUT (something I've requested multiple times). If you want to know if it is a single value, use:

if ($len($1) == 1) {}

That will tell you it's a single character. If you want only letters, use isalpha. If you want anything except numbers, use !isnum. If you want anything and any length, use:

if ($1 != $null) {}

A $chr() is any ascii character (including numbers). The only thing you'd filter out that way would be unicode. Is that what you're trying to do? Check if it's unicode? Really, you have to explain what you're looking for. If no one here knows what you are requesting, then it's a pretty good bet that you aren't explaining it well.

Give input and output examples (not more script examples).

Such as:
Quote:

<nick> H
<bot> This is a character.
<nick> Ha
<bot> This is not a character.
<nick> 1
<bot> This is a character.
<nick> "
<bot> This is not a character.
<nick> &#12486;
<bot> This is a character.


This is the kind of example we need to know what you're asking for. Change it to show the right outputs and, if necessary, add or remove some of the examples in there.


Invision Support
#Invision on irc.irchighway.net