Jump to content

Rate How Popular The Person Above You Is! [Game]


Guest

Recommended Posts

Okay here are the rules.

 

1: When a person writes a comment, you then comment how popular they are like so: 

 

 

Randomguy395043: Tybug0rz = ?/?

 

OtherGuy37894789345: Randomguy395043 = ?/?

 

And so on.

 

LETS BEGIN!!!

Link to comment
Share on other sites

  • 3 months later...
  • 3 weeks later...
On 2016-12-01 at 1:02 PM, Snakeman said:

local first = ZombRand(11);

local sec = ZombRand(11);

 

if first > sec then

    first = sec;

end

 

QueenGlory = getText("Popular_Queen Glory") .. first .. "/" .. sec;

minor efficiency tweak:
 

local function retPopularity(username)
  local sec = ZombRand(11);
  local first = ZombRand(sec); -- ensures that it will always be within sec. example: sec is 7, first will be number between 0 and sec

  local userPop = popularity[username] .. first .. "/" .. sec;

  return userPop;
end

retPopularity("snakeman")
Edited by ethanwdp
Link to comment
Share on other sites

6 hours ago, ethanwdp said:

minor efficiency tweak:
 


local function retPopularity(username)
  local sec = ZombRand(11);
  local first = ZombRand(sec); -- ensures that it will always be within sec. example: sec is 7, first will be number between 0 and sec

  local userPop = popularity[username] .. first .. "/" .. sec;

  return userPop;
end

retPopularity("snakeman")

So never i have 10/10 or 9/9... :P
i have 9/10... 7/8... 6/7 because first is attached to result of sec (if sec = 7 then first will be 0 to 6) :P

Link to comment
Share on other sites

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...