|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Sun Aug 14, 2005 7:12 pm
%Char |
what happenend to %char(12) ?????
I remember there being way more %char like a couple 1000
now I can only #Log up to 12 even though I can see a bit more on the screen.
I was tring to find the symbols for:
club
heart
spade
diamond. |
|
_________________ megamog75
I will do this.Nothing in my life matters except this.No moment in my life exists except this moment.I am born in this moment, and if I fail, I will die in this moment. Raistlin Majere |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Aug 14, 2005 9:53 pm |
What does 12 do?
If I #SHOW it, it clears the screen.
If I #INSERT it, it doesn't do anything (unprintable, which Zugg likely is checking for).
If I use ALT-12 in ZMud, I get a question mark.
If I use the same in Firefox (no idea if it's application specific), I get this symbol (♀). |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Sun Aug 14, 2005 10:57 pm |
it's not the only one that does that. If you run this loop you will see it happen a bunch:
#loop 1,1000 {#show %repeatnum=%char(%repeatnum)} |
|
_________________ megamog75
I will do this.Nothing in my life matters except this.No moment in my life exists except this moment.I am born in this moment, and if I fail, I will die in this moment. Raistlin Majere |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Mon Aug 15, 2005 7:46 am |
%char(xx) returns characters in the ascii character set. There are only 256 numbered from 0 to 255. 0-31 is for control characters and as such do not normally have a symbol made in the most fonts. What symbol gets displayed is font dependant. So you may have to use MXP font tags to get the symbols you want.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Rappy Wanderer
Joined: 15 Jul 2005 Posts: 96
|
Posted: Mon Aug 15, 2005 12:36 pm |
Start/Run/Charmap.exe wonderful tool... if you use WinXP, values in the bottom right are in HEX, and you'd have to convert them (calc.exe in scientific mode will convert hex to decimal)
However, unicode numbers past U-00FF I am not sure how to show. Otherwise, up to 00FF, you convert to decimal, add a 0 to the front and type that number using ALT and the numeric pad to the right of the keyboard. So the first one listed in charmap should be ! with a unicode number listed in hex of 0021, convert 21h to decimal and you get 33, HOLD alt and type 033 on the numeric pad and release ALT and you should see the ! appear.
Quote: |
0-31 is for control characters and as such do not normally have a symbol made in the most fonts.
|
Absolutely correct, 32 is a space, 33-64 are common keyboard symbols 65-91 is A-Z 92-97 are other keyboard symbols and 98-122 is a-z 160+ are non-keyboard symbols/characters with 160 being the non-breakable space (usefull in word if you want to keep two or three words together on a line IE Windows(chr160)XP no matter where the line ends, those two words will appear together)
Also, this post reminds me of something for the wishlist... being able to use display text in different fonts other than the one being used for text
#SHOW %font("Symbol")%char(167)
or #SHOW %font("Symbol",%char(167))
to show the club sign in the Symbol font
-Rappy |
|
_________________ Windows 11 Pro,
cMUD 3.34 |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Mon Aug 15, 2005 9:20 pm |
thanks that helps but I sware I was able to dso this with out having to resort to using font.
Rappy, #MXP supports font
#show ~<font symbol>%char(167)~</font> |
|
_________________ megamog75
I will do this.Nothing in my life matters except this.No moment in my life exists except this moment.I am born in this moment, and if I fail, I will die in this moment. Raistlin Majere |
|
|
|
|
|