Blockland Forums > Modification Help
Calling A Function In A Function
jes00:
How would you call another function in a function?
Cubelands:
What are you make script?
jes00:
--- Quote from: Cubelands on October 10, 2011, 04:27:47 PM ---What are you make script?
--- End quote ---
I do not understand your speech because your words are all mixed up.
Mawpius:
--- Code: ---function hi()
{
bye();
}
function bye()
{
echo("bye");
}
--- End code ---
Is that what you mean?
jes00:
--- Quote from: Mawpius on October 10, 2011, 04:28:42 PM ---
--- Code: ---function hi()
{
bye();
}
function bye()
{
echo("bye");
}
--- End code ---
Is that what you mean?
--- End quote ---
More like:
--- Code: ---function One(%client)
{
Two(%client);
//Do stuff
}
function Two(%client)
{
Delay somehow
One(%client);
}
--- End code ---