Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, 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.
Entire forum
➜ MUSHclient
➜ Tips and tricks
➜ Masked input
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Fearless
(8 posts) Bio
|
Date
| Tue 14 May 2024 01:20 AM (UTC) |
Message
| This is a LUA alias for a (mostly) masked input prompt. The text will be sent to the server and it will not show in the command history.
If Webdings size 4 isn't visibly obfuscated enough for you, then either 1: make the box smaller (box_height) so that the input field is not visible at all, or 2: get a password font, like this: https://github.com/davidagraf/passwd/blob/master/public/ttf/password.ttf (I am not affiliated. Beware of license trolls.)
<aliases>
<alias
match="pw"
enabled="y"
send_to="12"
sequence="100"
>
<send>pw = utils.inputbox(
"Type password:", "", "", "Webdings", 4,
{box_width=180, box_height=270}
)
pw = pw or ""
if pw ~= "" then Send(pw) end</send>
</alias>
</aliases>
| Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #1 on Tue 14 May 2024 05:27 PM (UTC) Amended on Tue 14 May 2024 05:28 PM (UTC) by Fiendish
|
Message
| |
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.
1,303 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top