Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Unicode Arrows

Unicode Arrows

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Duma   USA  (9 posts)  Bio
Date Fri 06 Apr 2007 06:03 PM (UTC)
Message
Hi, I'm playing the MUD Aetolia and on the old client there was a nifty little compass that showed you which directions you can travel. I'm trying to make my own compass, in the notepad. Is there a way to get arrows into the notepad? I've tried to use alt+8598 which according to http://www.alanwood.net/unicode/arrows.html equals a northwest arrow.

I've tried this combination in MUSH's notepad and got the û character. However when I used this combination in Microsoft's WordPad in Lucida Sans Unicode font I got the Northwest arrow.

I then tried to change the notepad's font to Lucida Sans Unicode in my script, but I got an error. And also I couldn't insert the arrow into the script, I just got the û again. Here's the script if that helps at all -

Sub Compass(Name, Line, Wildcards)
	world.NotepadFont "Compass", "Lucida Sans Unicode", 0, 20, 0
	world.ReplaceNotepad "Compass", "û"
End Sub


So basicly, is there a way to get arrows into the notepad? Any help would be appreciated.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 06 Apr 2007 09:18 PM (UTC)
Message
The notepad doesn't support Unicode. The only thing I can suggest is to use the Info Bar (optional bar on the bottom of the main window). You can change fonts with that, so with a suitable symbol font, and a suitable choice of characters, you should be able to show your directions there.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Sat 07 Apr 2007 04:46 AM (UTC)
Message
For example, this code displays some arrows in the Info bar:


InfoClear ()
InfoFont ("Symbol", 12, 0)
for i = 171, 180 do
  Info (string.char (i))
end


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,735 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.