This page describes the new features added and changes made to each build. You can browse through each build using headings.
#pause
functions in SharpScript, to add a pause in your script between actions (like commands) to send to the MUD. As usual, this is usable in aliases, macros or triggers. You can add the #pause
function directly from the interface.To add a variable, you can use the #writevar
SharpScript function (once again, you can add it directly from the interface, have it set on aliases, macros or triggers). On a MUD with spacecrafts, for instance, you might want to create a variable curship
which contains the name of your current ship. You would set it through an alias (add an alias curship *
that does #writevar curship $1
, that is, what's after the space will be set in the curship
variable). You can then use it later very simply in all your SharpScript, like #send {openhatch $curship}
. If you have to perform a lot of operations on a ship, this could save time.
You also have access to the #checkvar
SharpScript function which checks that the variable exists. If it does not, #checkvar
can send you a message and will stop the script right there. This is very useful in some contexts to make sure varibles exist before proceeding.
Note: these features are used from the SharpScript interface. They have been tested in different contexts. Few users have played with Python in SharpScript. If you are one of them, though, know that additional documentation and better code is currently being written to support more intuitive Python code inside the SharpScript engine.
#randplay
function, to randomly play a sound from a list of files (#118).!
alias to repeat the last command.ALT + X
or ALT + Shift + X
(#149).Pygame
was replaced with a much lighter and more efficient library (#134).#say
) directly in the client. This was removed as it created issues. Now you can enter your custom configuration in this SharpScript console (#138).cocomud.exe --config-dir=D:\CocoMUD
config.set
files for the time being) will be converted to the utf-8 encoding from now on, since this encoding is much more appropriate to the international spreading of CocoMUD.pipenv
, which makes it much easier to develop and support all CocoMUD's dependencies. Some additional documentation will shortly be posted.#randplay
has been added, to play a random sound in a list. This function is usable but not yet present in the graphical user interface.#repeat
, can be used to repeat the last entered command or send a command multiple times. It can easily be connected to a macro.$variable
. Variables have been added to aliases (#45) and triggers (#44).#play
function while several worlds are opened (#48).