mIRC Home    About    Download    Register    News    Help

Topic Options
#98315 - 22/09/04 03:40 PM character list?
clutz1572 Offline
Fjord artisan

Registered: 16/08/04
Posts: 423
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

Top
#98316 - 22/09/04 03:45 PM Re: character list?
Danthemandoo Offline
Fjord artisan

Registered: 04/03/04
Posts: 457
Loc: Behind you
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

Top
#98317 - 22/09/04 03:48 PM Re: character list?
sparta Offline
Planetary brain

Registered: 22/02/03
Posts: 3432
Loc: Sweden/Borlnge
Code:
$chr(1) = 
$chr(2) =  (Bold)
$chr(3) =  (Colour)
$chr(4) = 
$chr(5) = 
$chr(6) = 
$chr(7) = 
$chr(8) = 
$chr(9) = 	
$chr(10) = 
$chr(11) = 
$chr(12) = 
$chr(13) = 
$chr(14) = 
$chr(15) = 
$chr(16) = 
$chr(17) = 
$chr(18) = 
$chr(19) = 
$chr(20) = 
$chr(21) = 
$chr(22) =  (Reverse)
$chr(23) = 
$chr(24) = 
$chr(25) = 
$chr(26) = 
$chr(27) = 
$chr(28) = 
$chr(29) = 
$chr(30) = 
$chr(31) =  (Underlined)
$chr(32) =   (Space)
$chr(33) = !
$chr(34) = "
$chr(35) = #
$chr(36) = $
$chr(37) = %
$chr(38) = &amp;
$chr(39) = '
$chr(40) = (
$chr(41) = )
$chr(42) = *
$chr(43) = +
$chr(44) = ,
$chr(45) = -
$chr(46) = .
$chr(47) = /
$chr(48) = 0
$chr(49) = 1
$chr(50) = 2
$chr(51) = 3
$chr(52) = 4
$chr(53) = 5
$chr(54) = 6
$chr(55) = 7
$chr(56) = 8
$chr(57) = 9
$chr(58) = :
$chr(59) = ;
$chr(60) = &lt;
$chr(61) = =
$chr(62) = &gt;
$chr(63) = ?
$chr(64) = @
$chr(65) = A
$chr(66) = B
$chr(67) = C
$chr(68) = D
$chr(69) = E
$chr(70) = F
$chr(71) = G
$chr(72) = H
$chr(73) = I
$chr(74) = J
$chr(75) = K
$chr(76) = L
$chr(77) = M
$chr(78) = N
$chr(79) = O
$chr(80) = P
$chr(81) = Q
$chr(82) = R
$chr(83) = S
$chr(84) = T
$chr(85) = U
$chr(86) = V
$chr(87) = W
$chr(88) = X
$chr(89) = Y
$chr(90) = Z
$chr(91) = [
$chr(92) = \
$chr(93) = ]
$chr(94) = ^
$chr(95) = _
$chr(96) = `
$chr(97) = a
$chr(98) = b
$chr(99) = c
$chr(100) = d
$chr(101) = e
$chr(102) = f
$chr(103) = g
$chr(104) = h
$chr(105) = i
$chr(106) = j
$chr(107) = k
$chr(108) = l
$chr(109) = m
$chr(110) = n
$chr(111) = o
$chr(112) = p
$chr(113) = q
$chr(114) = r
$chr(115) = s
$chr(116) = t
$chr(117) = u
$chr(118) = v
$chr(119) = w
$chr(120) = x
$chr(121) = y
$chr(122) = z
$chr(123) = {
$chr(124) = |
$chr(125) = }
$chr(126) = ~
$chr(127) = 
$chr(128) = 
$chr(129) = 
$chr(130) = 
$chr(131) = 
$chr(132) = 
$chr(133) = 
$chr(134) = 
$chr(135) = 
$chr(136) = 
$chr(137) = 
$chr(138) = 
$chr(139) = 
$chr(140) = 
$chr(141) = 
$chr(142) = 
$chr(143) = 
$chr(144) = 
$chr(145) = 
$chr(146) = 
$chr(147) = 
$chr(148) = 
$chr(149) = 
$chr(150) = 
$chr(151) = 
$chr(152) = 
$chr(153) = 
$chr(154) = 
$chr(155) = 
$chr(156) = 
$chr(157) = 
$chr(158) = 
$chr(159) = 
$chr(160) = 
$chr(161) = 
$chr(162) = 
$chr(163) = 
$chr(164) = 
$chr(165) = 
$chr(166) = 
$chr(167) = 
$chr(168) = 
$chr(169) = 
$chr(170) = 
$chr(171) = 
$chr(172) = 
$chr(173) = 
$chr(174) = 
$chr(175) = 
$chr(176) = 
$chr(177) = 
$chr(178) = 
$chr(179) = 
$chr(180) = 
$chr(181) = 
$chr(182) = 
$chr(183) = 
$chr(184) = 
$chr(185) = 
$chr(186) = 
$chr(187) = 
$chr(188) = 
$chr(189) = 
$chr(190) = 
$chr(191) = 
$chr(192) = 
$chr(193) = 
$chr(194) = 
$chr(195) = 
$chr(196) = 
$chr(197) = 
$chr(198) = 
$chr(199) = 
$chr(200) = 
$chr(201) = 
$chr(202) = 
$chr(203) = 
$chr(204) = 
$chr(205) = 
$chr(206) = 
$chr(207) = 
$chr(208) = 
$chr(209) = 
$chr(210) = 
$chr(211) = 
$chr(212) = 
$chr(213) = 
$chr(214) = 
$chr(215) = 
$chr(216) = 
$chr(217) = 
$chr(218) = 
$chr(219) = 
$chr(220) = 
$chr(221) = 
$chr(222) = 
$chr(223) = 
$chr(224) = 
$chr(225) = 
$chr(226) = 
$chr(227) = 
$chr(228) = 
$chr(229) = 
$chr(230) = 
$chr(231) = 
$chr(232) = 
$chr(233) = 
$chr(234) = 
$chr(235) = 
$chr(236) = 
$chr(237) = 
$chr(238) = 
$chr(239) = 
$chr(240) = 
$chr(241) = 
$chr(242) = 
$chr(243) = 
$chr(244) = 
$chr(245) = 
$chr(246) = 
$chr(247) = 
$chr(248) = 
$chr(249) = 
$chr(250) = 
$chr(251) = 
$chr(252) = 
$chr(253) = 
$chr(254) = 
$chr(255) = 
_________________________
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Top
#98318 - 22/09/04 04:52 PM Re: character list?
starbucks_mafia Offline
Hoopy frood

Registered: 09/12/02
Posts: 2962
Loc: Norwich, UK
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)
_________________________
Spelling mistakes, grammatical errors, and stupid comments are intentional.

Top
#98319 - 22/09/04 05:52 PM Re: character list?
clutz1572 Offline
Fjord artisan

Registered: 16/08/04
Posts: 423
thanks everyone for the fast responses!

laugh

Top
#98320 - 22/09/04 06:46 PM Re: character list?
dr_Eamer Offline
Vogon poet

Registered: 22/08/04
Posts: 101
Loc: Athens, Greece
_________________________
Maybe I wake up one day to notice that all my life was just a dream!

Top
#98321 - 22/09/04 10:17 PM Re: character list?
whatsthedillio Offline
Fjord artisan

Registered: 10/06/04
Posts: 291
Loc: Uk
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
}
}
}


wink

Top
#98322 - 22/09/04 11:17 PM Re: character list?
dr_Eamer Offline
Vogon poet

Registered: 22/08/04
Posts: 101
Loc: Athens, Greece
You might as well use:
alias search { echo -a Found: $left($$1,1) $+ , Charecter Number: $asc($1) $+ , In mIRC Terms: $ $+ chr( $+ $asc($1) $+ ) }
_________________________
Maybe I wake up one day to notice that all my life was just a dream!

Top
#98323 - 23/09/04 03:58 PM Re: character list?
whatsthedillio Offline
Fjord artisan

Registered: 10/06/04
Posts: 291
Loc: Uk
cool,
i never knew about that $asc identifier
smile

Top