Jump to content

Total Avatars on Grid


Rutherford Beresford
 Share

You are about to reply to a thread that has been inactive for 3132 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 comment
Share on other sites

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...