30 Jul, 2015, Wayson wrote in the 1st comment:
Votes: 0
I know nothing of javascript. There are different interpreters if I understand.
Nodejs uses the v8 engine.
Where do I go to begin learning about the javascript engine used in PlainText?
Thanks.
30 Jul, 2015, plamzi wrote in the 2nd comment:
Votes: 0
Wayson said:
I know nothing of javascript. There are different interpreters if I understand.
Nodejs uses the v8 engine.
Where do I go to begin learning about the javascript engine used in PlainText?
Thanks.


This assumes you mean the PlainText MUD codebase, which appears to be in C++ and implements scripting in JS.

The syntax of your JS will be standard, so irrespective of exact environment, you need to learn at least basic JS syntax. I'm sure you don't need to be told where to find help on that.

Beyond that, PlainText likely implements a very limited and very specific set of methods, which you will need to find out more about from the documentation of PlainText on that topic, if any.

Here's a good start:
https://github.com/arendjr/PlainText/wik...

If you can't find scripting documentation, you can ask the author or peer at the C++ code interpreting the JS to find out what you can do and how.
31 Jul, 2015, Idealiad wrote in the 3rd comment:
Votes: 0
From what I recall PlainText uses the JS engine embedded in Qt (PlainText uses Qt for its C++ framework), which from a little googling I think is JavascriptCore, the Webkit interpreter.
Random Picks
0.0/3