Blockland Forums > Modification Help

Client Sided RPG Mod

Pages: << < (3/5) > >>

Scars75:


--- Quote from: PurpleMetro on September 02, 2011, 11:02:30 PM ---Tried that.. It only moved the evil ##'s down to surround the first quotation mark that i used for the echo command. Like it was like this
echo(##"##balhblahblahbalhb

--- End quote ---
I did some testing, and it seems you can't call functions inside packages. Just activate the package and it will echo that it worked if it was successful. Why are you using a package anyways?


PurpleMetro:


--- Quote from: Scars75 on September 02, 2011, 11:09:15 PM ---I did some testing, and it seems you can't call functions inside packages. Just activate the package and it will echo that it worked if it was successful. Why are you using a package anyways?


--- End quote ---
Oh well... I was thinking like making a console rpg mod. Like an imaginary person with health, thirst, hunger and all that. And his hunger and thirst increased by the minute. And if I don't want to RP right now then Packaging comes to the rescue! I can RPG when I want to and not RPG when I want to.

PurpleMetro:

Second Double post in my own topic ftw

Anyway I will continue this tommorow because I am not so bright at scripting at night... Need to refresh my brain you kno'.

PurpleMetro:

Ok i've decided to work on my script today. I need help on describing variable when using the echo function. Like I already have a variable that I named health and I want it when I first start blockland to greet me and tell me the exact value of my health. I've tried this command:

--- Code: ---echo("Hello Steve, you currently have ($ClRpg_Health) health");
--- End code ---
Edit: How do I display variables in console with echoes... All i'm asking...

infiniteLoop:

To echo variables do like so:

echo("Your health is " @ $someVariable @ "."),


Pages: << < (3/5) > >>

Go to full version