Guest User

Untitled

a guest
Apr 23rd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1.  
  2. if(themefonts == 1)
  3. {
  4. if(theme == 0)
  5. if(!execfile("data/font.cfg", false)) fatal("cannot find font definitions");
  6. if(theme == 1)
  7. if(!execfile("data/themes/se/font.cfg", false)) fatal("cannot find font definitions");
  8. if(theme == 2)
  9. if(!execfile("data/themes/crash/font.cfg", false)) fatal("cannot find font definitions");
  10. if(theme == 3)
  11. if(!execfile("data/themes/red eclipse/fonts/font.cfg", false)) fatal("cannot find font definitions");
  12. }
  13.  
  14. if(themefonts == 0)
  15. {
  16. if(font == 0)
  17. {
  18. if(!execfile("data/font.cfg", false)) fatal("cannot find font definitions");
  19. }
  20. if(font == 1)
  21. {
  22. if(!execfile("data/themes/se/font.cfg", false)) fatal("cannot find font definitions");
  23. }
  24. if(font == 2)
  25. {
  26. if(!execfile("data/themes/crash/font.cfg", false)) fatal("cannot find font definitions");
  27. }
  28. if(font == 3)
  29. {
  30. if(!execfile("data/themes/red eclipse/fonts/font.cfg", false)) fatal("cannot find font definitions");
  31. }
  32. if(font == 4)
  33. {
  34. if(!execfile("data/themes/red eclipse/fonts/command.cfg", false)) fatal("cannot find font definitions");
  35. }
  36. if(font == 5)
  37. {
  38. if(!execfile("data/themes/red eclipse/fonts/console.cfg", false)) fatal("cannot find font definitions");
  39. }
  40. if(font == 6)
  41. {
  42. if(!execfile("data/themes/red eclipse/fonts/consub.cfg", false)) fatal("cannot find font definitions");
  43. }
  44. if(font == 7)
  45. {
  46. if(!execfile("data/themes/red eclipse/fonts/emphasis.cfg", false)) fatal("cannot find font definitions");
  47. }
  48. if(font == 8)
  49. {
  50. if(!execfile("data/themes/red eclipse/fonts/radar.cfg", false)) fatal("cannot find font definitions");
  51. }
  52. }
Add Comment
Please, Sign In to add comment