Blockland Forums > Modification Help

survivalRP - holywtf bump! and maybe finishing up some loose ends??

Pages: << < (285/347) > >>

Ephialtes:


--- Quote from: Kalphiter on August 03, 2009, 10:06:05 PM ---Doesn't matter

Either way works, and is correct.

I originally learned it in Java a year ago:
int n = (int)(10.0 * Math.random());

--- End quote ---

Cool, I wrote this code to output something into the console:

--- Code: ---function getOutputText(%text)
{
    eval("%text = \""@%text@"\";");
    return %text;
}
function outputTextToConsole(%text)
{
    %text = getOutputText(%text);
    %text = getSubStr(%text,0,strLen(%text));
    %text = strReplace("","",%text);
    echo(%text);
}

--- End code ---

Then you just type this to echo something in the console:

outputTextToConsole(getWords("your text here",0,getwordCount("your text here")));

It works and it's correct - use that each time you want to echo something in the console now!

AGlass0fMilk:

Will do! Thanks Ephialtes!

Kalphiter:


--- Quote from: Ephialtes on August 09, 2009, 04:54:49 PM ---Cool, I wrote this code to output something into the console:

--- Code: ---function getOutputText(%text)
{
    eval("%text = \""@%text@"\";");
    return %text;
}
function outputTextToConsole(%text)
{
    %text = getOutputText(%text);
    %text = getSubStr(%text,0,strLen(%text));
    %text = strReplace("","",%text);
    echo(%text);
}

--- End code ---

Then you just type this to echo something in the console:

outputTextToConsole(getWords("your text here",0,getwordCount("your text here")));

It works and it's correct - use that each time you want to echo something in the console now!

--- End quote ---
I really don't understand how that fit into anything

Ephialtes:


--- Quote from: Kalphiter on August 09, 2009, 05:57:23 PM ---I really don't understand how that fit into anything

--- End quote ---

That may be something to do with your hilarious case of autism.

Kalphiter:


--- Quote from: Ephialtes on August 09, 2009, 06:11:54 PM ---That may be something to do with your hilarious case of autism.

--- End quote ---
What does echoing something into the console have to do with anything?

Pages: << < (285/347) > >>

Go to full version