Fix backspaces in MUD output

Share your scripts and packages with other Mudlet users.
Post Reply
User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Fix backspaces in MUD output

Post by Vadi »

Some MUDs use ASCII backspace characters to do text positioning, which is a rather bad way to go about it. Nonetheless, Achaea does it on the who list with echinacea on, and Mudlet doesn't cooperate with the backspacing but just prints the funny characters:
broken.png
broken.png (66.68 KiB) Viewed 4142 times
This simple trigger fixes it. Import, and your who will look like this:
screenshot_393.png
screenshot_393.png (67.13 KiB) Viewed 4142 times
Enjoy.
Attachments
fix-backspaces.xml
(1.14 KiB) Downloaded 613 times

hempa
Posts: 48
Joined: Sat Jan 02, 2010 1:07 pm

Re: Fix backspaces in MUD output

Post by hempa »

Thank you Vadi, that works to rid Aetolia of the tabs too :)

By the way, that highlighter you're using, is it a lot of separate triggers or did you solve that some other way?

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Fix backspaces in MUD output

Post by Vadi »

Not sure what do you mean because Achaea is highlighting the names in the screenshots. However look at Heikos enemy highlighter tech demo, "the Mudlet way" is to create a trigger for each name - it's really fast then, 1,800 names only added ~0.002 sys lag per line.

hempa
Posts: 48
Joined: Sat Jan 02, 2010 1:07 pm

Re: Fix backspaces in MUD output

Post by hempa »

Ahhh, I didn't know Achaea highlighted names. My bad! I'll take a look at the demo you mentioned.

Post Reply