Languages Snippet

  • Chime
  • Chime's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
3 months 2 days ago #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.
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
3 months 5 hours ago #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.

  • Chime
  • Chime's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
2 months 3 weeks ago #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: 1.204 seconds