DIR Return Create A Forum - Home
---------------------------------------------------------
Blockland Forums 2
HTML https://blockland2.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: General Discussion
*****************************************************
#Post#: 1338--------------------------------------------------
A Tutorial On PythCodes
DIR By: Blake1
Date: May 28, 2012, 9:39 am
---------------------------------------------------------
Pyth codes allow scripters to code stuff more easily with easy
cmds and toggles. They do not come with Blockland, you will need
to add them to the Add-Ons. I recently got this private MOD and
it works great. After talking with BlockLando about fixing his
ChatBot, I decided to post this.
None of my friends have this Add-On, but I have some people who
do. That's why I decided to make this. If you don't have the
Add-On, then go "Aw..." when you read this. ;)
First of all once you add it, you'll need to edit the file
inside it called "code.cs", add inside it the following code:
Un-Edited Code:
--- Code ---
function Pyth
{
echo("You need to add my cmds!");
}
PythTest();
--- End Code ---
Now with the edited code:
--- Code ---
function Pyth
{
echo("Your 'I'm Working!' command here");
}
PythTest();
{
}
activatePackage("PythCode");
--- End Code ---
See? Now it may not look like an actual command, but the rest is
in other files.
Now, lets make a crash script that works on your server. We'll
use the PythCode toggle "onCrash", the toggle "onCommand();",
and the exCode "doCommand();".
Here's the script:
--- Code ---
onCommand("blake1();"):
doCommand("crash();")
toggle(PC);
onCrash:
toggleCmdOK
.delete();
"The server crashed."
--- End Code ---
There you have it. The code's basically doing, when the host of
the server with the Add-On does the Console Command "blake1();",
it crashes the host which crashes the server. For the clients on
the server, they are deleted (.delete(); ), and the crash prompt
says "The server crashed."
I'll add more soon!
#Post#: 1339--------------------------------------------------
Re: A Tutorial On PythCodes
DIR By: Blake1
Date: May 28, 2012, 9:39 am
---------------------------------------------------------
~Reserved~
#Post#: 1340--------------------------------------------------
Re: A Tutorial On PythCodes
DIR By: Blake1
Date: May 28, 2012, 9:40 am
---------------------------------------------------------
~Reserved~
#Post#: 1341--------------------------------------------------
Re: A Tutorial On PythCodes
DIR By: Blake1
Date: May 28, 2012, 9:40 am
---------------------------------------------------------
~Last Reserved~
#Post#: 1342--------------------------------------------------
Re: A Tutorial On PythCodes
DIR By: Blockheadplayer
Date: May 28, 2012, 9:43 am
---------------------------------------------------------
Why 3 reserves?
#Post#: 1343--------------------------------------------------
Re: A Tutorial On PythCodes
DIR By: Mango
Date: May 28, 2012, 9:43 am
---------------------------------------------------------
Completely abusive.... lol..
Good for people that don't know how to do this.
#Post#: 1344--------------------------------------------------
Re: A Tutorial On PythCodes
DIR By: Bunny-Dop
Date: May 28, 2012, 9:43 am
---------------------------------------------------------
--- Quote from: Blockheadplayer link ---
>
> Why 3 reserves?
>
--- End Quote ---
Must be planning to be a big topic.
#Post#: 1345--------------------------------------------------
Re: A Tutorial On PythCodes
DIR By: Blake1
Date: May 28, 2012, 9:44 am
---------------------------------------------------------
You can use it to make someone's key reset. (Not telling how)
--- Quote from: Bunny-Dop link ---
>
> Must be planning to be a big topic.
>
--- End Quote ---
Yes.
#Post#: 1346--------------------------------------------------
Re: A Tutorial On PythCodes
DIR By: MrLOL
Date: May 28, 2012, 9:45 am
---------------------------------------------------------
--- Quote from: Blake1 link ---
>
> You can use it to make someone's key reset. (Not telling how)
>
--- End Quote ---
~Post Removed~
POST WAS EDITED. (Revealing Private Code)
#Post#: 1347--------------------------------------------------
Re: A Tutorial On PythCodes
DIR By: Mango
Date: May 28, 2012, 9:45 am
---------------------------------------------------------
--- Quote from: Blake1 link ---
>
> You can use it to make someone's key reset. (Not telling how)
>
--- End Quote ---
I bet I could figure this in an hour or so >:)
*****************************************************
Page 1 of 7
DIR Next Page