Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - FelipeO_O

Pages: [1]
1
Modification Help / Help with looping issues [SOLVED]
« on: March 10, 2016, 04:22:10 PM »
So, i was just building around a castle and while i'm building. I always type the command ./brickcount to look for
the amount of bricks spent (i don't like wasting memory). Then i though of creating a script to give me support:

Code: [Select]
function serverCmdshowBricks(%this, %asw)
{
  %flag = false;
  //Let's toggle if
  if(%asw $= "on")
  {
    %flag = true;
  } else if(%asw $= "off") %flag = false;
  
  while(%flag) //Yes... .-.
    %this.bottomPrint("The number of bricks is: " @ getBrickCount(), 0);
}


This first code didn't work. When i type "./showBricks on" it gives an error : "Error runtime blablabla cancer blabla"

Code: [Select]
function serverCmdshowBricks(%this, %asw)
{
  %flag = false;
  //Let's toggle if
  if(%asw $= "on")
  {
    %flag = true;
  } else if(%asw $= "off") %flag = false;
  
  for(;%flag;) //Why not? It works at C :-(
  {
    %this.bottomPrint("The number of bricks is: " @ getBrickCount(), 0);
  }
}
This was my second try and nothing .-.

Any idea?


2
Help / Any solution for running Blockland under linux kernel?
« on: February 17, 2016, 02:52:30 PM »
;=;

3
Off Topic / How many sides has a circle?
« on: February 03, 2016, 03:41:57 PM »
HOW MANY SIDES HAS THIS GEOMETRIC FIGURE:



Just God knows exactly the number......

I've questioned the skies..... the moons... (a jihad)...

The humanity must study its unknows properties

YOU GUYS KNOW WHAT IM NOT BEING CRAZY

4
General Discussion / Re: stan_the_waffle_man's Boss Battles!
« on: May 13, 2015, 08:08:58 PM »
It seems like cool.

Pages: [1]