Author Topic: Calculator Commands | v1.5  (Read 8297 times)

This is not client-sided thought.
what?
how is it not client sided



oh, I thought he was replying to the eeposs's GUI and saying it wasn't client-sided.

Having a GUI for this would be useless. Nobody writes numbers using their mouse.

Okay, this is getting stupid. Has not yet even been looked at by the RTB mods.

So uh, why not make a client sided version of it that allows people to calculate stuff with it (with a toggle to allow public users to calculate)

So uh, why not make a client sided version of it that allows people to calculate stuff with it (with a toggle to allow public users to calculate)
I would if I knew how to allow users to use client-sided chat commands.

I would if I knew how to allow users to use client-sided chat commands.
Erm, ever heard of a package?
No?
Ok...
Code: [Select]
package ClientCalculate
{
function NMH_Type::Send(%this)
{
if(%this.getValue() $= "/ccAdd")
{
dostuffhere();
}
Parent::Send(%this); //Don't loving forget this line or you're gonna break the chat.
}
};
activatepackage(ClientCalculate);

Will this exact code work for your purposes? No.
You should be able to figure out what you have to change.
« Last Edit: October 03, 2012, 03:56:10 PM by Evar678 »

Erm, ever heard of a package?
No?
Ok...
Code: [Select]
package ClientCalculate
{
function NMH_Type::Send(%this)
{
if(%this.getValue() $= "/ccAdd")
{
dostuffhere();
}
Parent::Send(%this); //Don't loving forget this line or you're gonna break the chat.
}
};
activatepackage(ClientCalculate);

Will this exact code work for your purposes? No.
You should be able to figure out what you have to change.
Thanks evar.
  I think I might do this...

-snippie-
I'm still puzzled, what do I use instead of messageClient? Also, can it detect variables?:
Quote from: client.cs
package ClientCalculate
{
   function NMH_Type::Send(%this)
   {
      if(%this.getValue() $= "/ccAdd %a %b")
      {
         //cc code here..
      }
      Parent::Send(%this);
   }
};

?

i like this one better hase blockland window theam

is this a finshed add-on cause i would like it

i like this one better hase blockland window theam

is this a finshed add-on cause i would like it
It's in the beta state, but it works fine.
Also, it's server-sided meaning it only works on servers with the add-on installed. I am currently working on a client version.
It will never include a GUI, why would you want to calculate with your mouse?
« Last Edit: October 03, 2012, 05:40:32 PM by Subpixel »

i like this one better hase blockland window theam

is this a finshed add-on cause i would like it
Never coded it, Would you like me too?


Hey did you know Subpixel is probaly going to get kicked from BL Fourms :O


Yay