Blockland Forums > General Discussion

Return of the Mr. Wallet's Blockland Scripting Class

Pages: << < (24/41) > >>

Mr. Wallet:

No, no time change, I'm just late by 8 minutes like a jerk.  :cookieMonster: streaming now though

Blastdown:

Day 2 was fun, though I was freaking out thinking I missed half-an-hour.
I feel I am learning, and I am enjoying the classes very much.

Daenth:


--- Quote from: Blastdown on June 27, 2010, 11:32:41 PM ---Day 2 was fun, though I was freaking out thinking I missed half-an-hour.
I feel I am learning, and I am enjoying the classes very much.

--- End quote ---
Same.

Mr. Wallet:

Day 2 is probably the most boring part because it doesn't have a ton of real-world examples, but we did learn how to kill someone that enters a slash command, so the day wasn't a total waste.  :cookieMonster:

heedicalking:


--- Quote from: Mr. Wallet on June 28, 2010, 12:06:37 AM ---Day 2 is probably the most boring part because it doesn't have a ton of real-world examples, but we did learn how to kill someone that enters a slash command, so the day wasn't a total waste.  :cookieMonster:

--- End quote ---
and you answered all of my tons of questions, though I still need to find out a proper way to word my variable in a variable question, I think I got it.

function servercmdAddresource(%client, %resource, %amount)

and you would type /Addresource gold 5 and it would make

%client.%resource += %amount;

which would turn into

%client.gold += %amount;

and you could do stuff like /Addresource Iron 7 and such?



Pages: << < (24/41) > >>

Go to full version