Guest User

Untitled

a guest
Jul 23rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.35 KB | None | 0 0
  1.  if( Command == "trivia" )
  2.  Sub Load_Settings
  3. ' >> TRIVIA
  4. if IsNumeric(GetConfigEntry("Trivia", "trivaccess", "ghost.cfg")) Then
  5.  trivAccess = Int(GetConfigEntry("Trivia", "trivaccess", "ghost.cfg"))
  6. end if
  7. if IsNumeric(GetConfigEntry("Trivia", "nhints", "ghost.cfg")) Then
  8.  nHints = Int(GetConfigEntry("Trivia", "nhints", "ghost.cfg"))
  9. end if
  10. if IsNumeric(GetConfigEntry("Trivia", "totalasked", "ghost.cfg")) Then
  11.  questions_asked_count = Int(GetConfigEntry("Trivia", "totalasked", "ghost.cfg"))
  12. end if
  13. if GetConfigEntry("Trivia", "questionfilename", "ghost.cfg") <> vbNullString Then
  14.  QuestionFileName = GetConfigEntry("Trivia", "questionfilename", "ghost.cfg")
  15. end if
  16. timer_division = Str2Bool(GetConfigEntry("Trivia", "timerdivision", "ghost.cfg"))
  17. fast_question = Str2Bool(GetConfigEntry("Trivia", "fastquestion", "ghost.cfg"))
  18. auto_repeat = Str2Bool(GetConfigEntry("Trivia", "autorepeat", "ghost.cfg"))
  19. QuestionFilesDir = GetConfigEntry("Trivia", "questionfilesdir", "ghost.cfg")
  20. ' >> AntiFlood
  21.  if IsNumeric(GetConfigEntry("FRS", "anti_flood_time", "ghost.cfg")) Then
  22.   anti_flood_time = Int(GetConfigEntry("FRS", "anti_flood_time", "ghost.cfg"))
  23.  end if
  24.  if IsNumeric(GetConfigEntry("FRS", "floodprotectiontime", "ghost.cfg")) Then
  25.   flood_p_arec_time = Int(GetConfigEntry("FRS", "floodprotectiontime", "ghost.cfg"))
  26.  end if
  27. End Sub
Add Comment
Please, Sign In to add comment