Blockland Forums > Modification Help
Scripting Help
(1/2) > >>
yourthatdude:
1st I have searched all over for this How To sooo...

2nd Can someone give me some tips on how to script and what to use I just wana make some simple /Start and /Stop Scripts for my server


Dont flame me Bro!
Butler:
You want commands to start and stop your server?

To start it with a command is impossible as you need chat to enter a command and the only way to get chat is to start/join a server. But if you started one to enter the command there would be no point for the command. And if you joined a server you cannot use the command as you are not the host.

So yeah, impossible to start server with a command. But to stop it that would be easy. I just dunno how to script from scratch.
yourthatdude:
No no like you now / commands for my server
Red_Guy:
what do  you want the /commands to do?

starting the script files is easy:

function serverCommandStuff(%client)
   {
    // your code goes here
  }

Then when you type /stuff
in the chat, that function will be run.

If you want something else you have to be more specific, what youve asked for is too vague.
yourthatdude:
My Apoligies, a /console command so you can talk as console without using console
Navigation
Message Index
Next page

Go to full version