Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( Command == "trivia" )
- Sub Load_Settings
- ' >> TRIVIA
- if IsNumeric(GetConfigEntry("Trivia", "trivaccess", "ghost.cfg")) Then
- trivAccess = Int(GetConfigEntry("Trivia", "trivaccess", "ghost.cfg"))
- end if
- if IsNumeric(GetConfigEntry("Trivia", "nhints", "ghost.cfg")) Then
- nHints = Int(GetConfigEntry("Trivia", "nhints", "ghost.cfg"))
- end if
- if IsNumeric(GetConfigEntry("Trivia", "totalasked", "ghost.cfg")) Then
- questions_asked_count = Int(GetConfigEntry("Trivia", "totalasked", "ghost.cfg"))
- end if
- if GetConfigEntry("Trivia", "questionfilename", "ghost.cfg") <> vbNullString Then
- QuestionFileName = GetConfigEntry("Trivia", "questionfilename", "ghost.cfg")
- end if
- timer_division = Str2Bool(GetConfigEntry("Trivia", "timerdivision", "ghost.cfg"))
- fast_question = Str2Bool(GetConfigEntry("Trivia", "fastquestion", "ghost.cfg"))
- auto_repeat = Str2Bool(GetConfigEntry("Trivia", "autorepeat", "ghost.cfg"))
- QuestionFilesDir = GetConfigEntry("Trivia", "questionfilesdir", "ghost.cfg")
- ' >> AntiFlood
- if IsNumeric(GetConfigEntry("FRS", "anti_flood_time", "ghost.cfg")) Then
- anti_flood_time = Int(GetConfigEntry("FRS", "anti_flood_time", "ghost.cfg"))
- end if
- if IsNumeric(GetConfigEntry("FRS", "floodprotectiontime", "ghost.cfg")) Then
- flood_p_arec_time = Int(GetConfigEntry("FRS", "floodprotectiontime", "ghost.cfg"))
- end if
- End Sub
Add Comment
Please, Sign In to add comment