[Home] [Downloads] [Search] [Help/forum]

Log on
Register forum user name Search FAQ

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  How to translate commands

How to translate commands

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Lerkista   (57 posts)  [Biography] bio
Date Tue 31 Mar 2020 02:07 AM (UTC)
Message
Hi, i´m using SmaugFuss (recently updated to 1.9.4)

I want to translate the commands to spanish, or make an alias

So for example type "ayuda" instead of "help", "matar" instead of "kill" or have both words for the same command

How smuagfuss assign the commands? i´m a little confused, for example i installed the gboard snippet, the function is do_global_boards() and is declared DECLARED_DO_FUN( do_global_boards );, but in game the command to use it is "gboard", and i can´t find any part of code that make reference to "gboard"

Any one can help me with this?

Thanks
[Go to top] top

Posted by Fiendish   USA  (2,315 posts)  [Biography] bio   Global Moderator
Date Reply #1 on Tue 31 Mar 2020 03:11 AM (UTC)

Amended on Tue 31 Mar 2020 03:12 AM (UTC) by Fiendish

Message
Quote:
How smuagfuss assign the commands?


system/commands.dat except for all the places where they're hard-coded

Quote:
i installed the gboard snippet

You're going to need to give us more information than "I installed something from somewhere". Show us exactly what you downloaded and where you got it.

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Lerkista   (57 posts)  [Biography] bio
Date Reply #2 on Tue 31 Mar 2020 07:44 AM (UTC)
Message
Hi

Thanks, i figured out how to make my commands work

i can edit commands.dat or use cedit to add a new command

Thanks
[Go to top] top

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,573 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]