How to add user scripts?
How do you make scripts you can use? I've looked in game and at the files but don't see how.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I'm glad you're interested in it though!
(the whole game has been written in the scripting environment that will be available to you, so you know it'll be robust)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ahh Okay, sounds good, any idea when the new build will be up?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Yeah the game is really interesting, I haven't stopped all day haha. Can't wait till it is back up so i can try it out.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
depends on how much I cram into it! I have a bunch of tutorial progress blocking-type fixes to get in before I get to the script editing.
But it's definitely up there on the todo list. :)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Yeah the game is really interesting, I haven't stopped all day haha. Can't wait till it is back up so i can try it out.
haha nice! Yep, excited for you to get to try it as well! Read up other places on these forums for some of the special sauce in the scripting.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
script editing is enabled again.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
So once I've made a script, where do I put it so that I can access it in-game?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
So once I've made a script, where do I put it so that I can access it in-game?
Use the #help menu to learn about the # commands.
#edit <scriptname>
copy in your code then
#up <scriptname>
to upload
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Are there any examples on code usage? I've tried making one as a test that would show my balance, it was created but when I run I get the error " Unexpected token . at :1:43"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Are there any examples on code usage? I've tried making one as a test that would show my balance, it was created but when I run I get the error " Unexpected token . at :1:43"
Here's what that one would look like:
function (context, args}
{
return #s.accts.balance();
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ahh yes that works! What about accts.transfer? I've got it to say security level 2 but when trying to put it like it would be put in game it says unexpected token :. Also Does it go 1 = NullSec to 5 = Fullsec? Also is there a way to like get someones name or bank balance? Or get them to run a script and then take the information from that script? Like to get their sys.loc.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ahh yes that works! What about accts.transfer? I've got it to say security level 2 but when trying to put it like it would be put in game it says unexpected token :. Also Does it go 1 = NullSec to 5 = Fullsec? Also is there a way to like get someones name or bank balance? Or get them to run a script and then take the information from that script? Like to get their sys.loc.
function (context, args}
{
return #s.accts.transfer(args); // pass the arguments through
}
no: 0-NULL to 4-FULL
yes
yes
yes
yes
and yes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
For those coming here for an answer much later than the initial poster, use #dir.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -