Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, 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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ How to translate commands

How to translate commands

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


Posted by Lerkista   (57 posts)  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
Top

Posted by Fiendish   USA  (2,534 posts)  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
Top

Posted by Lerkista   (57 posts)  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
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.


10,607 views.

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

Go to topic:           Search the forum


[Go to top] top

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