finding an unknown character.

Post Reply
Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

finding an unknown character.

Post by Filion »

How to find the ascii code of a character that mudlet doesn't recognise?

Daagar
Posts: 89
Joined: Fri Feb 19, 2010 2:42 am

Re: finding an unknown character.

Post by Daagar »

asciitable.com, possibly?

Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

Re: finding an unknown character.

Post by Filion »

I want to catch an ascii code from the mud.I see that mudlet uses the NULL character for it, but I think that happens because mudlet cannot recognise the character.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: finding an unknown character.

Post by Heiko »

You need to use regex triggers to catch the char and then retrieve its ASCII value from the buffer. I've posted a demo script that plays a sound when the bell char is being sent.

Post Reply