Blockland Forums > Modification Help
Displaying Variables w/ script
Destiny/Zack0Wack0:
--- Quote from: otto-san on July 13, 2010, 05:10:38 PM ---the only helpful one so far
brownie points for zack
--- End quote ---
That's because I coded the system doofus, lol.
otto-san:
--- Quote from: Destiny/Zack0Wack0 on July 13, 2010, 10:31:56 PM ---That's because I coded the system doofus, lol.
--- End quote ---
....
no u
:cookieMonster:
Obibital:
--- Quote from: Destiny/Zack0Wack0 on July 13, 2010, 04:02:56 AM ---pfft I use tab in all of my scripts including variables.
--- Code: ---messageClient(%client,'','Gold: %1',%brick.getGroup().vargroup.getVariable("Client","gold",%client));
--- End code ---
--- End quote ---
Kinda found the answer to a question i had, but why have the %brick.getGroup when your just displaying a variable?
Is this just a snippet from something you coded?
Bauklotz:
I guess because he's getting the variable from a brick's client perhaps?
Triple Nickels:
--- Quote from: darerd on July 12, 2010, 08:57:43 PM ---Some scripts are really hard to read because at no point was Return/Enter used. Not even TAB.
--- End quote ---
You're stupid. Some text editors don't use the same encoder as Notepad, so when you open the script they wrote in TextEdit on a mac you don't see returns or tabs. Open it in WordPad or Notepad++ and you'll see the code (probably) properly formatted. I don't see how anyone could code without using return or tab.