does anyone know or can point me at least, to somewhere i can find a character number list?
ya know, a list that give the numeric value of keyboard characters..
thanks for any info in advance
alias charlist {
var %x 1
while (%x < 256) {
echo -s chr %x is: $chr(%x)
inc %x
}
}
Just type /charlist anywhere and it will display all the $chr's in the status window in this format:
chr 38 is: &
chr 39 is: '
chr 40 is: (
chr 41 is: )
Starting from 1 to 255
There's a
list of ASCII Character Codes available here. It also gives meanings to the control characters (#0 - #31), however it doesn't mention the special meanings that some characters have on IRC.
The special meanings for characters on IRC are:
- # 002 (bold text off/on)
- # 003 (followed by a 1-2 digit number or two 1-2 digit numbers separated by a comma means start coloured text, when not followed by any numbers it means end any coloured text)
- # 015 (end effect of any other control codes [return to normal styled text])
- # 022 (underline text off/on)
- # 031 (reverse colours of text [background becomes text colour and vice versa] off/on)
thanks everyone for the fast responses!
i use this to search for the charecters:
alias search {
if (!$1) { echo -a Nothing To Search For! | halt }
else {
var %i = 1
while (%i < 250) {
if ($chr(%i) == $1) {
echo -a Found: $chr(%i) $+ , Charecter Number: %i $+ , In mIRC Terms: $ $+ chr( $+ %i $+ )
}
inc %i
}
}
}
You might as well use:
alias search { echo -a Found: $left($$1,1) $+ , Charecter Number: $asc($1) $+ , In mIRC Terms: $ $+ chr( $+ $asc($1) $+ ) }
cool,
i never knew about that $asc identifier