Jump to content

Total Avatars on Grid


You are about to reply to a thread that has been inactive for 1892 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

You can use HTTP Requests to figure out how many agents are on the grid(And more if you wish).

Here is an example script which finds out how many people are on the grid when clicked, then says it out on channel 0:

//This is called from below when we get our info//If you want you can just change this. :3( )    (,  + () + );
//Function for ease of use
=;
()
//Lets not re-request if we already are waiting on a request. (==)
= (,[],);
;
( ) //Lets ask the server for information
();
( , , , ) (==)//Is it our request?
(==)//Make sure we didn't get an error //The response is seperated by new lines, so we use \n
= (, [], []);
//Never trust the order, it can always change. //So we will find out where it is here
= (, []);
() //Make sure we got a VALID location
//Add 1 to locationOfInWorld and we get our value //Note it is STILL a string, we need to cast it into a integer
= ()(, + );
//Lets call our function
(); //This is optional, it's just made for ease of use =;
  

 --EDIT--

Oh god the forums cant handle my formatting

--EDIT LOG #26928--

It is the year 2582, It's getting dark, there is still no hope in sight the forums will accept my formating soon.

Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 1892 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...