Commands to use while writing a script
After a week of NPC grinding I decided to learn more about hackmud by finding out how to script. I have spent another week learning JavaScript and even written some working scripts, but even the write() command doesn't work in hackmud and instead of returning "Hello, World!" returns the error "write is not defined". Is hackmud based on its own commands and how do I learn to write scripts compatible with hackmud?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
try
return {msg:"Hello world!"}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -