106
Off Topic / Re: What The forget Is South America Doing?
« on: November 29, 2012, 08:11:51 PM »
It's not that we hate him its that that's probably the dumbest comment I've ever read in my entire loving life.
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.

I thought if you were coming from another hosting service you got a free month or something?If you have a billing history with another Blockland hosting service you can provide billing records for a free month of service.
You have a sleeping disorder called Hypochondria. You should really see a doctor, and not just ask the blockland forums.hypochondriasis*
So does anyone here do any actual DJing?ye
function findValue(%total, %quota1, %quota2, %quota3, %quota4)
{
%dholder = new scriptObject();
%squota1 = %quota1;
%squota3 = %quota3;
%squota2 = %quota2;
%squota4 = %quota4;
for(%quota1=%squota1;%quota1 >= 0;%quota1--)
{
for(%i=1;%i<5;%i++) %quota[%i] = %squota[%i];
%input = %total;
%input *= 100;
%quarters = mFloor(%input / 25);
if(%quarters > %quota1) %quarters = %quota1;
%input1 = %input-%quarters*25;
for(%quota2=%squota2;%quota2 >= 0;%quota2--)
{
%dimes = mFloor(%input1 / 10);
if(%dimes > %quota2) %dimes = %quota2;
%input2 = %input1 - %dimes*10;
for(%quota3=%squota3;%quota3 >= 0;%quota3--)
{
%nickels = mFloor(%input2 / 5);
if(%nickels > %quota3) %nickels = %quota3;
%input3 = %input2 - %nickels*5;
for(%quota4=%squota4;%squota4>=0;%squota4--)
{
if(%input3 > %quota4)
break;
%dholder.list[%dholder.listc++-1] = %quarters SPC %dimes SPC %nickels SPC %input3;
}
}
}
}
return %dholder;
}
I haven't tested it but I think based on logic that should work.