Welcome to the Builder Academy

Question Languages Snippet

More
23 Jun 2018 05:02 #8123 by Chime
Languages Snippet was created by Chime
A simple languages snippet updated from CircleMUD to tbaMUD.

I'm sure it has some wee issues, but it's at least functioning, I expanded it a bit to make sure your currently spoken language saves over logout/reboot/etc., the garbled text works for languages a player doesn't speak, so on and so forth. I thought I'd share, in the spirit of my probably apparent "lets translate a billion out of date snippets to tbaMUD!" movement.

I intend to combine do_say with do_langsay in the future, but for most peoples' uses you can just replace do_say with the do_langsay below. Just remember to change do_langsay to do_say. Languages are skills that can be practiced up by percentages per the norm.

If anyone knows who wrote the original I would love to cite them as the author.
Code:
Usage: languages lang <language> langsay <message

File is attached.
Attachments:
The following user(s) said Thank You: lacrc

Please Log in or Create an account to join the conversation.

More
25 Jun 2018 12:27 #8127 by lacrc
Replied by lacrc on topic Languages Snippet
Nice! Thanks for that!

Do you think there should be history this command? Like the other channels.
Since it's a TBA snippet, I think you can safely add the code to store the "langsay" as channel for the History command.

And, do you think it's possible to use a similar garble_text() function to mess up messages of drunk people? I think I'm gonna try that but not sure if it should be another snippet or can be included in this one

Please Log in or Create an account to join the conversation.

More
04 Jul 2018 16:21 #8130 by Chime
Replied by Chime on topic Languages Snippet
That would be pretty handy across the board, on langsay having a history.

Totally think it'd be doable to add drunk messages with a similar function. Something that replaces "s" with "sh" and such would be hilarious... I know what I'm doing this weekend!
The following user(s) said Thank You: lacrc

Please Log in or Create an account to join the conversation.

Time to create page: 0.485 seconds