Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var userdb = Database.GetUserStatus(user);
- int prestige = userdb.FirstOrDefault().Prestige;
- if (prestige == 0)
- {
- string result = "0";
- return result;
- }
- if (prestige == 1)
- {
- string result = "<:DBPRESTIGE1:340226257231020034>";
- return result;
- }
- if (prestige == 2)
- {
- string result = "<:DBPRESTIGE2:340226267213201408>";
- return result;
- }
- if (prestige == 3)
- {
- string result = "<:DBPRESTIGE3:340226274020818944>";
- return result;
- }
- if (prestige == 4 || prestige <= 9)
- {
- string result = "<:DBPRESTIGE4:340226280408481804>";
- return result;
- }
- if (prestige == 10 || prestige <= 19)
- {
- string result = "<:DBPRESTIGE10:340226293171879936>";
- return result;
- }
- if (prestige == 20 || prestige <= 29)
- {
- string result = "<:DBPRESTIGE20:340226302248484867>";
- return result;
- }
- if (prestige == 30 || prestige <= 39)
- {
- string result = "<:DBPRESTIGE30:340226309919735809>";
- return result;
- }
- if (prestige == 40 || prestige <= 49)
- {
- string result = "<:DBPRESTIGE40:340226318723448834>";
- return result;
- }
- if (prestige == 50 || prestige <= 99)
- {
- string result = "<:DBPRESTIGE50:340226330480345089>";
- return result;
- }
- if (prestige == 100 || prestige <= 199)
- {
- string result = "<:DBPRESTIGE100:318503311567355904>";
- return result;
- }
- if (prestige == 200 || prestige <= 299)
- {
- string result = "<:DBPRESTIGE200:318503320111022080>";
- return result;
- }
- if (prestige >= 999)
- {
- string result = "<:DBPRESTIGE1000:318503332115251210>";
- return result;
- }
- else
- {
- string result = "Bla bla";
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement