Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. var userdb = Database.GetUserStatus(user);
  2. int prestige = userdb.FirstOrDefault().Prestige;
  3. if (prestige == 0)
  4. {
  5. string result = "0";
  6. return result;
  7. }
  8. if (prestige == 1)
  9. {
  10. string result = "<:DBPRESTIGE1:340226257231020034>";
  11. return result;
  12. }
  13. if (prestige == 2)
  14. {
  15. string result = "<:DBPRESTIGE2:340226267213201408>";
  16. return result;
  17. }
  18. if (prestige == 3)
  19. {
  20. string result = "<:DBPRESTIGE3:340226274020818944>";
  21. return result;
  22. }
  23. if (prestige == 4 || prestige <= 9)
  24. {
  25. string result = "<:DBPRESTIGE4:340226280408481804>";
  26. return result;
  27. }
  28. if (prestige == 10 || prestige <= 19)
  29. {
  30. string result = "<:DBPRESTIGE10:340226293171879936>";
  31. return result;
  32. }
  33. if (prestige == 20 || prestige <= 29)
  34. {
  35. string result = "<:DBPRESTIGE20:340226302248484867>";
  36. return result;
  37. }
  38. if (prestige == 30 || prestige <= 39)
  39. {
  40. string result = "<:DBPRESTIGE30:340226309919735809>";
  41. return result;
  42. }
  43. if (prestige == 40 || prestige <= 49)
  44. {
  45. string result = "<:DBPRESTIGE40:340226318723448834>";
  46. return result;
  47. }
  48. if (prestige == 50 || prestige <= 99)
  49. {
  50. string result = "<:DBPRESTIGE50:340226330480345089>";
  51. return result;
  52. }
  53. if (prestige == 100 || prestige <= 199)
  54. {
  55. string result = "<:DBPRESTIGE100:318503311567355904>";
  56. return result;
  57. }
  58. if (prestige == 200 || prestige <= 299)
  59. {
  60. string result = "<:DBPRESTIGE200:318503320111022080>";
  61. return result;
  62. }
  63. if (prestige >= 999)
  64. {
  65. string result = "<:DBPRESTIGE1000:318503332115251210>";
  66. return result;
  67. }
  68. else
  69. {
  70. string result = "Bla bla";
  71. return result;
  72. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement