Posted 27 July 2014 - 10:24 PM
Say you're making a Fallout-esque RP server and you want the players on your server to input their initial S.P.E.C.I.A.L on a computer and put it into your custom made character card plugin. But then you realize, how are you supposed to do that? Well, if there is a Server Admin Only peripheral similar to the modems in size and similar to a command block in function, one could simply code the program saying if the player completes the S.P.E.C.I.A.L test with these values to record those values in their character card with the Command Hookup wrapped to whatever side it's on (preferably the back cause that's probably against a wall).
Here's how that code would work:
First the computer will check who is using the computer and identify them to the hookup if it requires a username. Then there's normal computer code, blah blah blah, input variable, then once the player clicks the finish button and it activates some code that puts the variable into the command and sends the command. In this case the command would be this:
/fo setspecial <character name> <S P E C I A L>
If this has been suggested before I have not seen it when I searched.
Here's how that code would work:
First the computer will check who is using the computer and identify them to the hookup if it requires a username. Then there's normal computer code, blah blah blah, input variable, then once the player clicks the finish button and it activates some code that puts the variable into the command and sends the command. In this case the command would be this:
/fo setspecial <character name> <S P E C I A L>
If this has been suggested before I have not seen it when I searched.
Edited on 27 July 2014 - 08:39 PM