from Tkinter import *

dic = {}
dic['bomb_abortdefuse'] = {}
dic['bomb_abortdefuse']['ev'] = ["userid", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['bomb_abortdefuse']['name'] = ["The userid of the person", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['bomb_abortdefuse']['ex'] = "EVERY TIME A PLAYER STOPS DEFUSING THE BOMB"
dic['bomb_abortplant'] = {}
dic['bomb_abortplant']['ev'] = ["userid", "site", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['bomb_abortplant']['name'] = ["The userid of the person", "The site number", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['bomb_abortplant']['ex'] = "EVERY TIME A PLAYER STOPS IN THE MIDDLE OF PLANTING THE BOMB"
dic['bomb_beep'] = {}
dic['bomb_beep']['ev'] = ["entindex"]
dic['bomb_beep']['name'] = ["The entity index of the bomb"]
dic['bomb_beep']['ex'] = "EVERY TIME THE BOMB BEEPS"
dic['bomb_begindefuse'] = {}
dic['bomb_begindefuse']['ev'] = ["userid", "haskit", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['bomb_begindefuse']['name'] = ["The userid of the person", "person have defusekit", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['bomb_begindefuse']['ex'] = "EVERY TIME A PLAYER ATTEMPTS TO DEFUSE THE BOMB"
dic['bomb_beginplant'] = {}
dic['bomb_beginplant']['ev'] = ["userid", "site", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['bomb_beginplant']['name'] = ["The userid of the person", "The site number", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['bomb_beginplant']['ex'] = "EVERY TIME A PLAYER STARTS TO PLANT THE BOMB"
dic['bomb_defused'] = {}
dic['bomb_defused']['ev'] = ["userid", "site", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['bomb_defused']['name'] = ["The userid of the person", "The site number", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['bomb_defused']['ex'] = "EVERY TIME A PLAYER SUCESSFULLY DEFUSES THE BOMB"
dic['bomb_dropped'] = {}
dic['bomb_dropped']['ev'] = ["userid", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['bomb_dropped']['name'] = ["The userid of the person", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['bomb_dropped']['ex'] = "EVERY TIME A PLAYER DROPS THE BOMB"
dic['bomb_exploded'] = {}
dic['bomb_exploded']['ev'] = ["userid", "site", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['bomb_exploded']['name'] = ["The userid of the person", "The site number", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['bomb_exploded']['ex'] = "EVERY TIME THE BOMB EXPLODES"
dic['bomb_pickup'] = {}
dic['bomb_pickup']['ev'] = ["userid", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['bomb_pickup']['name'] = ["The userid of the person", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['bomb_pickup']['ex'] = "EVERY TIME A PLAYER PICKS UP THE BOMB"
dic['bomb_planted'] = {}
dic['bomb_planted']['ev'] = ["userid", "site", "posx", "posy", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['bomb_planted']['name'] = ["The userid of the person", "The site number","X-Position where Bomb planted", "Y-Position where Bomb planted", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['bomb_planted']['ex'] = "EVERY TIME A PLAYER SUCCESSFULLY PLANTS THE BOMB"
dic['break_breakable'] = {}
dic['break_breakable']['ev'] = ["userid", "entindex", "material", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['break_breakable']['name'] = ["The userid of the person", "entity index of the func_breakable", "The material type of the broken object", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['break_breakable']['ex'] = "EVERY TIME A FUNC_BREAKABLE IS BROKEN"
dic['break_breakable']['notes'] = ["Materials Types:","1=Glass", "2=Metal", "4=Flesh", "8=Wood", "16=Smoke(temp entities)", "32=Transparent (temp entities)", "64=Concrete", "128=Slave"]
dic['break_prop'] = {}
dic['break_prop']['ev'] = ["userid", "entindex", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['break_prop']['name'] = ["The userid of the person", "entity index of the func_breakable", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['break_prop']['ex'] = "EVERY TIME A PROP IS BROKEN"
dic['bullet_impact'] = {}
dic['bullet_impact']['ev'] = ["userid", "x", "y", "z", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['bullet_impact']['name'] = ["The userid of the person", "X-Position, where hit", "Y-Position, where hit", "Z-Position, where hit","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['bullet_impact']['ex'] = "EVERY TIME A BULLET HITS A SURFACE"
dic['door_moving'] = {}
dic['door_moving']['ev'] = ["userid", "entindex","es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['door_moving']['name'] = ["The userid of the person", "The entity index of the moving door", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['door_moving']['ex'] = "EVERY TIME A PLAYER ACTIVATES A DOOR"
dic['flashbang_detonate'] = {}
dic['flashbang_detonate']['ev'] = ["userid", "x", "y", "z", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['flashbang_detonate']['name'] = ["The userid of the person", "X-Position, where detonated", "Y-Position, where detonated", "Z-Position, where detonated","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['flashbang_detonate']['ex'] = "EVERY TIME A FLASHBANG THAT IS THROWN DETONATES/FLASHES"
dic['game_end'] = {}
dic['game_end']['ev'] = ["winner"]
dic['game_end']['name'] = ["The winner team/user id"]
dic['game_end']['ex'] = "EVERY TIME A GAME ENDS"
dic['game_end'] = {}
dic['game_end']['ev'] = ["target", "text"]
dic['game_end']['name'] = ["0 = Console, 1 = HUD", "The Message Text"]
dic['game_end']['ex'] = "EVERY TIME A MESSAGE SEND BY GAME LOGIC TO EVERYONE"
dic['game_message'] = {}
dic['game_message']['ev'] = ["target", "text"]
dic['game_message']['name'] = ["0 = Console, 1 = HUD", " The Message Text"]
dic['game_message']['ex'] = "EVERY TIME A MESSAGE SEND BY GAME LOGIC TO EVERYONE"
dic['game_start'] = {}
dic['game_start']['ev'] = ["timelimit", "fraglimit", "objective"]
dic['game_start']['name'] = ["The Round Timelimit in Seconds", "The Frag Limit in Seconds", "The Round Objective"]
dic['game_start']['ex'] = "EVERY TIME A GAME STARTS"
dic['grenade_bounce'] = {}
dic['grenade_bounce']['ev'] = ["userid", "x", "y", "z", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['grenade_bounce']['name'] = ["The userid of the person", "X-Position, where bounced", "Y-Position, where bounced", "Z-Position, where bounced","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['grenade_bounce']['ex'] = "EVERY TIME A GRENADE THAT IS THROWN BOUNCES"
dic['hegrenade_detonate'] = {}
dic['hegrenade_detonate']['ev'] = ["userid", "x", "y", "z", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['hegrenade_detonate']['name'] = ["The userid of the person", "X-Position, where detonated", "Y-Position, where detonated", "Z-Position, where detonated","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['hegrenade_detonate']['ex'] = "EVERY TIME A GRENADE THAT IS THROWN DETONATES/BLOWS UP"
dic['hostage_call_for_help'] = {}
dic['hostage_call_for_help']['ev'] = ["hostage"]
dic['hostage_call_for_help']['name'] = ["entity index of the hostage calling for help"]
dic['hostage_call_for_help']['ex'] = "on EVERY HOSTAGE CALLING FOR HELP"
dic['hostage_follows'] = {}
dic['hostage_follows']['ev'] = ["userid", "hostage", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['hostage_follows']['name'] = ["The userid of the person", "The hostage number","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['hostage_follows']['ex'] = "EVERY TIME A PLAYER TELLS A HOSTAGE TO FOLLOW"
dic['hostage_hurt'] = {}
dic['hostage_hurt']['ev'] = ["userid", "hostage", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['hostage_hurt']['name'] = ["The userid of the person", "The hostage number","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['hostage_hurt']['ex'] = "EVERY TIME A PLAYER HURTS A HOSTAGE"
dic['hostage_killed'] = {}
dic['hostage_killed']['ev'] = ["userid", "hostage", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['hostage_killed']['name'] = ["The userid of the person", "The hostage number","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['hostage_killed']['ex'] = "EVERY TIME A PLAYER KILLS A HOSTAGE"
dic['hostage_rescued'] = {}
dic['hostage_rescued']['ev'] = ["userid", "hostage", "site","es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['hostage_rescued']['name'] = ["The userid of the person", "The hostage number", "numeric value of the rescue site","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['hostage_rescued']['ex'] = "EVERY TIME A HOSTAGE IS RESCUED"
dic['hostage_rescued_all'] = {}
dic['hostage_rescued_all']['ev'] = []
dic['hostage_rescued_all']['name'] = []
dic['hostage_rescued_all']['ex'] = "WHEN ALL HOSTAGES HAVE BEEN RESCUED"
dic['hostage_stops_following'] = {}
dic['hostage_stops_following']['ev'] = ["userid", "hostage", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['hostage_stops_following']['name'] = ["The userid of the person", "The hostage number","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['hostage_stops_following']['ex'] = "EVERY TIME A HOSTAGE STOPS FOLLOWING A PLAYER"
dic['item_pickup'] = {}
dic['item_pickup']['ev'] = ["userid", "item", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['item_pickup']['name'] = ["The userid of the person", "The name of the item","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['item_pickup']['ex'] = "EVERY TIME A PLAYER PICKS UP (OR IS GIVEN) AN ITEM OR WEAPON"
dic['item_pickup']['notes'] = ["Item does not contain the weapon_ or item_ prefix", "When Player picked up a AWP, item ist just awp, NOT weapon_awp"]
dic['player_activate'] = {}
dic['player_activate']['ev'] = ["userid", "es_username", "es_steamid"]
dic['player_activate']['name'] = ["The userid of the person", "The name of the person", "The steamid of the person"]
dic['player_activate']['ex'] = "ONCE PER MAP - (when a player first connects per map)"
dic['player_blind'] = {}
dic['player_blind']['ev'] = ["userid", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['player_blind']['name'] = ["The userid of the person", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['player_blind']['ex'] = "on EVERY PLAYER THAT IS BLINDED BY A FLASHBANG"
dic['player_changename'] = {}
dic['player_changename']['ev'] = ["userid", "oldname", "newname", "es_steamid"]
dic['player_changename']['name'] = ["The userid of the person", "The name of the person before", "The name of the person after","The steamid of the person"]
dic['player_changename']['ex'] = "EVERY TIME A PLAYER CHANGES HIS/HER NAME"
dic['player_chat'] = {}
dic['player_chat']['ev'] = ["userid", "text", "teamonly"]
dic['player_chat']['name'] = ["The userid of the person", "The full line of text the player typed", " Private (team only) = 1 | Public = 0"]
dic['player_chat']['ex'] = "EVERY TIME A PLAYER TYPES ANYTHING IN CHAT"
dic['player_class'] = {}
dic['player_class']['ev'] = ["userid", "class"]
dic['player_class']['name'] = ["The userid of the person", "The new player class/model"]
dic['player_class']['ex'] = "EVERY TIME A PLAYER CHANGES HIS/HER CLASS"
dic['player_connect'] = {}
dic['player_connect']['ev'] = ["name", "index", "userid", "networkid", "address"]
dic['player_connect']['name'] = ["The name of the player", "The player slot entity index", "The userid of the player","The Non Real!! SteamID", "The IP address and port of the player"]
dic['player_connect']['ex'] = "EVERY TIME A PLAYER CONNECTS"
dic['player_connect']['notes'] = ['networkid does not contain the real SteamID of the player ONLY:', 'STEAM_ID_PENDING', 'STEAM_ID_LAN', 'BOT']
dic['player_death'] = {}
dic['player_death']['ev'] = ["userid", "attacker","weapon", "headshot", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userdead", "es_attackername", "es_attackersteamid", "es_attackerteam", "es_attackerhealth", "es_attackerarmor", "es_attackerdeaths", "es_attackerkills", "es_attackerweapon", "es_attackerdead"]
dic['player_death']['name'] = ["The userid of the victim", "The userid of the attacker","The Name of the Kill Weapon", "If the kill was a result of a Headshot","The name of the victim", "The steamid of the victim", "The team # of the victim", "The health of the victim", "The armor of the victim","The number of deaths of the victim", "The number of kills of the victim", "If the Victim is alive or not", "The name of the attacker", "The steamid of the attacker", "The team # of the attacker", "The health of the attacker", "The armor of the attacker","The number of deaths of the attacker", "The number of kills of the attacker", "The Weaponname of the attacker","If the attacker is alive or not"]
dic['player_death']['ex'] = "EVERY TIME A PLAYER DIES"
dic['player_disconnect'] = {}
dic['player_disconnect']['ev'] = ["userid", "reason", "name", "networkid"]
dic['player_disconnect']['name'] = ["The userid of the player", "The disconnect reason", "The name of the player","The steamid of the Player"]
dic['player_disconnect']['ex'] = "EVERY TIME A PLAYER DISCONNECTS FROM THE SERVER"
dic['player_falldamage'] = {}
dic['player_falldamage']['ev'] = ["userid", "damage","es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['player_falldamage']['name'] = ["The userid of the person", "The ammount of damage taken from the fall","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['player_falldamage']['ex'] = "when a player falls and recieves damage"
dic['player_footstep'] = {}
dic['player_footstep']['ev'] = ["userid", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['player_footstep']['name'] = ["The userid of the person", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['player_footstep']['ex'] = "on EVERY PLAYER THAT MAKES AN AUDIBLE FOOTSTEP"
dic['player_footstep']['notes'] = ['player_footstep triggers only when you hear the footstep', 'player_footstep also requires sv_footsteps to be set to 1']
dic['player_hurt'] = {}
dic['player_hurt']['ev'] = ["userid", "attacker","weapon", "health", "dmg_health","armor","dmg_armor","hitgroup", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userdead", "es_attackername", "es_attackersteamid", "es_attackerteam", "es_attackerhealth", "es_attackerarmor", "es_attackerdeaths", "es_attackerkills", "es_attackerweapon", "es_attackerdead"]
dic['player_hurt']['name'] = ["The userid of the victim", "The userid of the attacker","The Name of the Kill Weapon", "The remaining health of the victim", "How much damage was done to the victim","The remaining armor of the victim","How much damage was done to the victims armor", "Which limb was damaged on the victim","The name of the victim", "The steamid of the victim", "The team # of the victim", "The health of the victim", "The armor of the victim","The number of deaths of the victim", "The number of kills of the victim", "If the Victim is alive or not", "The name of the attacker", "The steamid of the attacker", "The team # of the attacker", "The health of the attacker", "The armor of the attacker","The number of deaths of the attacker", "The number of kills of the attacker", "The Weaponname of the attacker","If the attacker is alive or not"]
dic['player_hurt']['ex'] = "EVERY TIME A PLAYER IS HURT"
dic['player_info'] = {}
dic['player_info']['ev'] = ["name", "index", "userid", "networkid", "bot"]
dic['player_info']['name'] = ["The name of the player", "The player slot entity index", "The userid of the player","The SteamID of the person", "If person is a bot"]
dic['player_info']['ex'] = "EVERY TIME A PLAYER CHANGES HIS/HER NAME"
dic['player_jump'] = {}
dic['player_jump']['ev'] = ["userid", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['player_jump']['name'] = ["The userid of the person", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['player_jump']['ex'] = "on every player that jumps"
dic['player_radio'] = {}
dic['player_radio']['ev'] = ["userid", "slot"]
dic['player_radio']['name'] = ["The userid of the person", "The Valve id of the message sent"]
dic['player_radio']['ex'] = "EVERY TIME A PLAYER SENDS A RADIO MESSAGE"
dic['player_say'] = {}
dic['player_say']['ev'] = ["userid", "text", "es_steamid", "es_username", "es_userteam"]
dic['player_say']['name'] = ["The userid of the person", "The full line of text the player typed", "The steamid of the player", "The username of the player", "The team of the user"]
dic['player_say']['ex'] = "EVERY TIME A PLAYER TYPES ANYTHING IN CHAT"
dic['player_score'] = {}
dic['player_score']['ev'] = ["userid", "kills", "deaths", "score"]
dic['player_score']['name'] = ["The userid of the person", "The number of kills the player has", "The number of deaths the player has","The total game score"]
dic['player_score']['ex'] = "EVERY TIME A PLAYER'S SCORE CHANGES"
dic['player_shoot'] = {}
dic['player_shoot']['ev'] = []
dic['player_shoot']['name'] = ["Currently broken!!"]
dic['player_shoot']['ex'] = "Currently not!!"
dic['player_spawn'] = {}
dic['player_spawn']['ev'] = ["userid", "es_username", "es_steamid","es_userteam","es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills"]
dic['player_spawn']['name'] = ["The userid of the person", "The username of the player", "The Steamid of the person", "The team of the user", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person"]
dic['player_spawn']['ex'] = "ONCE PER ROUND - (before the round starts prior to freeze time ending)"
dic['player_spawn']['notes'] = ['This event happens at least once before player_activate']
dic['player_team'] = {}
dic['player_team']['ev'] = ["userid", "team", "oldteam", "disconnect"]
dic['player_team']['name'] = ["The userid of the person", "The team the player joined", "The old team the player was on","Team change, triggerd because of disconnecting"]
dic['player_team']['ex'] = "EVERY TIME A PLAYER CHANGES TEAMS"
dic['player_use'] = {}
dic['player_use']['ev'] = ["userid", "entity"]
dic['player_use']['name'] = ["The userid of the person", "The entity # being used by the player"]
dic['player_use']['ex'] = "EVERY TIME A PLAYER USES AN ITEM - (bomb kit)"
dic['round_end'] = {}
dic['round_end']['ev'] = ["winner", "reason", "message"]
dic['round_end']['name'] = ["The winner of the round (2=T, 3=CT)", "The reason why the winner won", "The end of round message (e.g #CTs_Win)"]
dic['round_end']['ex'] = "EVERY TIME A ROUND ENDS - (after objective completed/all players dead)" 
dic['round_end']['notes'] = ["At round_end event there are no userids and any variable used for userid wont work!"]
dic['round_start'] = {}
dic['round_start']['ev'] = ["timelimit", "fraglimit", "objective"]
dic['round_start']['name'] = ["The Round Timelimit in Seconds", "The Frag Limit in Seconds", "The Round Objective"]
dic['round_start']['ex'] = "EVERY TIME A ROUND STARTS - (beginning of freeze time)"
dic['server_addban'] = {}
dic['server_addban']['ev'] = ["userid", "name", "networkid", "ip", "duration", "by", "kicked"]
dic['server_addban']['name'] = ["The userid of the player","The name of the player","The SteamID of the person", "The ip of the player", "The duration of the ban", " The name of the player who banned the player", "If Player also have been kicked"]
dic['server_addban']['ex'] = "on EVERY PLAYER THAT has been banned"
dic['server_cvar'] = {}
dic['server_cvar']['ev'] = ["cvarname", "cvarvalue"]
dic['server_cvar']['name'] = ["The name of the server cvar", "The new value of the cvar"]
dic['server_cvar']['ex'] = "each time a server cvar is modified"
dic['server_message'] = {}
dic['server_message']['ev'] = ["text"]
dic['server_message']['name'] = ["The Message Text"]
dic['server_message']['ex'] = "on EVERY GENERIC SERVER MESSAGE"
dic['server_removeban'] = {}
dic['server_removeban']['ev'] = ["networkid", "ip", "by"]
dic['server_removeban']['name'] = ["The SteamID of the person", "The ip of the player", "The name of the player who unbanned the player"]
dic['server_removeban']['ex'] = "on EVERY PLAYER THAT has been unbanned"
dic['server_shutdown'] = {}
dic['server_shutdown']['ev'] = ["reason"]
dic['server_shutdown']['name'] = ["The reason the server is shutting down"]
dic['server_shutdown']['ex'] = "when the server shuts down (normal shutdown, not crash)"
dic['smokegrenade_detonate'] = {}
dic['smokegrenade_detonate']['ev'] = ["userid", "x", "y", "z", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['smokegrenade_detonate']['name'] = ["The userid of the person", "X-Position, where detonated", "Y-Position, where detonated", "Z-Position, where detonated","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['smokegrenade_detonate']['ex'] = "EVERY TIME A SMOKE GRENADE THAT IS THROWN DETONATES/SMOKES"
dic['vip_escaped'] = {}
dic['vip_escaped']['ev'] = ["userid"]
dic['vip_escaped']['name'] = ["The userid of the VIP"]
dic['vip_escaped']['ex'] = "EVERY TIME A VIP ESCAPES"
dic['vip_killed'] = {}
dic['vip_killed']['ev'] = ["userid", "attacker"]
dic['vip_killed']['name'] = ["The userid of the VIP", "The userid of the attacker"]
dic['vip_killed']['ex'] = "EVERY TIME A VIP IS KILLED"
dic['weapon_fire'] = {}
dic['weapon_fire']['ev'] = ["userid", "weapon","es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['weapon_fire']['name'] = ["The userid of the person", "The name of the weapon","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['weapon_fire']['ex'] = "EVERY TIME A WEAPON IS FIRED - (as long as you keep the attack button pressed)"
dic['weapon_fire']['notes'] = ['Requires eventscripts_noisy 1 to be handled by EventScripts']
dic['weapon_fire_on_empty'] = {}
dic['weapon_fire_on_empty']['ev'] = ["userid", "weapon","es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['weapon_fire_on_empty']['name'] = ["The userid of the person", "The name of the weapon","The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['weapon_fire_on_empty']['ex'] = "EVERY TIME A PLAYER ATTEMPTS TO FIRE A WEAPON THAT HAS NO AMMO -(no grenades!!)"
dic['weapon_reload'] = {}
dic['weapon_reload']['ev'] = ["userid", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['weapon_reload']['name'] = ["The userid of the person", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['weapon_reload']['ex'] = "EVERY TIME A PLAYER RELOADS THEIR WEAPON WITH THE RELOAD BUTTON"
dic['weapon_reload']['notes'] = ['Requires eventscripts_noisy 1 to be handled by EventScripts', 'if a player has a full clip and tries to reload, this event is fired repeatedly as long as the reload key is held down', 'This event is not fired on automatic reloads (empty clip)']
dic['weapon_zoom'] = {}
dic['weapon_zoom']['ev'] = ["userid", "es_username", "es_steamid", "es_userteam", "es_userhealth", "es_userarmor", "es_userdeaths", "es_userkills", "es_userweapon"]
dic['weapon_zoom']['name'] = ["The userid of the person", "The name of the person", "The steamid of the person", "The team # of the person", "The health of the person", "The armor of the person","The number of deaths of the person", "The number of kills of the person", "The name of the player's weapon"]
dic['weapon_zoom']['ex'] = 'EVERY TIME A PLAYER USES THE "ZOOM" FUNCTION ON HIS/HER WEAPON'
dic['es_client_command'] = {}
dic['es_client_command']['ev'] = ["userid", "command", "commandstring"]
dic['es_client_command']['name'] = ["The userid of the VIP", "The name of the command that was executed", " The text after the command, or the agruments for the command"]
dic['es_client_command']['ex'] = "every time a player performs a command - ( Example: Move forward)"
dic['es_map_start'] = {}
dic['es_map_start']['ev'] = ["mapname"]
dic['es_map_start']['name'] = ["Returns the name of the current map"]
dic['es_map_start']['ex'] = "every time the map changes"
dic['es_map_start']['notes'] = ['This event fires even before the server.cfg executes']
dic['es_player_chat'] = {}
dic['es_player_chat']['ev'] = ["userid", "text", "teamonly"]
dic['es_player_chat']['name'] = ["The userid of the person", "The full line of text the player typed", "Private (team only) = 1 | Public = 0"]
dic['es_player_chat']['ex'] = "every time the server recieves a chat message"
dic['es_player_setting'] = {}
dic['es_player_setting']['ev'] = ["userid"]
dic['es_player_setting']['name'] = ["The userid of the Player"]
dic['es_player_setting']['ex'] = "every time a place changes a server related setting - ( Example: name )"
dic['es_player_validated'] = {}
dic['es_player_validated']['ev'] = ["userid", "networkid"]
dic['es_player_validated']['name'] = ["The userid of the Player", "The network or Steam ID of the person"]
dic['es_player_validated']['ex'] = "every time a player is validated"


def show(event):
	eventroot = Tk()
	for x in dic:
		if x == event:
			eventroot.title('Eventoverview by Popoklopsi:     Event %s' % x)
			Label(eventroot, text="Event %s" % x).grid(row=0, column=0, columnspan=7, sticky=W+E)
			Label(eventroot, text="Executes %s" % dic[x]['ex'], bg="yellow").grid(row=1, column=0, columnspan=7, sticky=W+E)
			Label(eventroot, text="Python", relief=GROOVE,padx=80, bg="darkgreen").grid(row=2, column=0)
			Label(eventroot, text="", padx=80).grid(row=3, column=0)
			counter = 5
			if dic[x]['ev']:
				for y in dic[x]['ev']:
					kentry = Entry(eventroot, fg="red",width=28)
					kentry.grid(row=counter, column=0)
					kentry.insert(END,"event_var['%s']" % y)
					counter = counter + 1
			else:
				Label(eventroot, text="No VARIABLES", padx=80, fg="red", height=1).grid(row=5, column=0)
			counter = 5
			Label(eventroot, text="Actions", relief=GROOVE,padx=80, bg="darkgreen").grid(row=2, column=1)
			Label(eventroot, text="", padx=80).grid(row=3, column=1)
			if dic[x]['name']:
				for y in dic[x]['name']:
					Label(eventroot, text=y, padx=80).grid(row=counter, column=1)
					counter = counter + 1
			else:
				Label(eventroot, text="No VARIABLES", padx=80, fg="red", height=1).grid(row=5, column=1)
			counter = 5
			Label(eventroot, text="Shell", relief=GROOVE,padx=80, bg="darkgreen").grid(row=2, column=3)
			Label(eventroot, text="", padx=80).grid(row=3, column=3)
			if dic[x]['ev']:
				for y in dic[x]['ev']:
					kentry = Entry(eventroot, fg="red",width=28)
					kentry.grid(row=counter, column=3)
					kentry.insert(END,"event_var(%s)" % y)
					counter = counter + 1
			else:
				Label(eventroot, text="No VARIABLES", padx=80, fg="red", height=1).grid(row=5, column=3)
			counter = 5
			if dic[x]['notes']:
				Label(eventroot, text="Notes", relief=GROOVE,padx=80, bg="darkgreen").grid(row=2, column=5)
				Label(eventroot, text="",).grid(row=3, column=5)
				for y in dic[x]['notes']:
					Label(eventroot, text=y, padx=80, fg="blue").grid(row=counter, column=5)
					counter = counter + 1
	eventroot.mainloop()
	
root = Tk()
root.title('Eventoverview by Popoklopsi')
Label(root, text="EventScripts Event Overview").grid(row=0, column=0, columnspan=12, sticky=W+E)
Label(root, text="B", relief=GROOVE, underline=0,padx=58).grid(row=1, column=0)
Button(root, text="bomb_abortdefuse",underline=0,width=19,padx=2, command=lambda t='bomb_abortdefuse': show(t)).grid(row=2, column=0)
Button(root, text="bomb_abortplant",underline=0,width=19,padx=2, command=lambda t='bomb_abortplant': show(t)).grid(row=3, column=0)
Button(root, text="bomb_beep",underline=0,width=19,padx=2, command=lambda t='bomb_beep': show(t)).grid(row=4, column=0)
Button(root, text="bomb_begindefuse",underline=0,width=19,padx=2, command=lambda t='bomb_begindefuse': show(t)).grid(row=5, column=0)
Button(root, text="bomb_beginplant",underline=0,width=19,padx=2, command=lambda t='bomb_beginplant': show(t)).grid(row=6, column=0)
Button(root, text="bomb_defused",underline=0,width=19,padx=2, command=lambda t='bomb_defused': show(t)).grid(row=7, column=0)
Button(root, text="bomb_dropped",underline=0,width=19,padx=2, command=lambda t='bomb_dropped': show(t)).grid(row=8, column=0)
Button(root, text="bomb_exploded",underline=0,width=19,padx=2, command=lambda t='bomb_exploded': show(t)).grid(row=9, column=0)
Button(root, text="bomb_pickup",underline=0,width=19,padx=2, command=lambda t='bomb_pickup': show(t)).grid(row=10, column=0)
Button(root, text="bomb_planted",underline=0,width=19,padx=2, command=lambda t='bomb_planted': show(t)).grid(row=11, column=0)
Button(root, text="break_breakable",underline=0,width=19,padx=2, command=lambda t='break_breakable': show(t)).grid(row=12, column=0)
Button(root, text="break_prop",underline=0,width=19,padx=2, command=lambda t='break_prop': show(t)).grid(row=13, column=0)
Button(root, text="bullet_impact",underline=0,width=19,padx=2, command=lambda t='bullet_impact': show(t)).grid(row=14, column=0)
Label(root, text="D", relief=GROOVE, underline=0,padx=58).grid(row=1, column=1)
Button(root, text="door_moving",underline=0,width=19,padx=2, command=lambda t='door_moving': show(t)).grid(row=2, column=1)
Label(root, text="F", relief=GROOVE, underline=0,padx=58).grid(row=1, column=2)
Button(root, text="flashbang_detonate",underline=0,width=19,padx=2, command=lambda t='flashbang_detonate': show(t)).grid(row=2, column=2)
Label(root, text="G", relief=GROOVE, underline=0,padx=58).grid(row=1, column=3)
Button(root, text="game_end",underline=0,width=19,padx=2, command=lambda t='game_end': show(t)).grid(row=2, column=3)
Button(root, text="game_message",underline=0,width=19,padx=2, command=lambda t='game_message': show(t)).grid(row=3, column=3)
Button(root, text="game_start",underline=0,width=19,padx=2, command=lambda t='game_start': show(t)).grid(row=4, column=3)
Button(root, text="grenade_bounce",underline=0,width=19,padx=2, command=lambda t='grenade_bounce': show(t)).grid(row=5, column=3)
Label(root, text="H", relief=GROOVE, underline=0,padx=58).grid(row=1, column=4)
Button(root, text="hegrenade_detonate",underline=0,width=19,padx=2, command=lambda t='hegrenade_detonate': show(t)).grid(row=2, column=4)
Button(root, text="hostage_call_for_help",underline=0,width=19,padx=2, command=lambda t='hostage_call_for_help': show(t)).grid(row=3, column=4)
Button(root, text="hostage_follows",underline=0,width=19,padx=2, command=lambda t='hostage_follows': show(t)).grid(row=4, column=4)
Button(root, text="hostage_hurt",underline=0,width=19,padx=2, command=lambda t='hostage_hurt': show(t)).grid(row=5, column=4)
Button(root, text="hostage_killed",underline=0,width=19,padx=2, command=lambda t='hostage_killed': show(t)).grid(row=6, column=4)
Button(root, text="hostage_rescued",underline=0,width=19,padx=2, command=lambda t='hostage_rescued': show(t)).grid(row=7, column=4)
Button(root, text="hostage_rescued_all",underline=0,width=19,padx=2, command=lambda t='hostage_rescued_all': show(t)).grid(row=8, column=4)
Button(root, text="hostage_stops_following",underline=0,width=19,padx=2, command=lambda t='hostage_stops_following': show(t)).grid(row=9, column=4)
Label(root, text="I", relief=GROOVE, underline=0,padx=58).grid(row=1, column=5)
Button(root, text="item_pickup",underline=0,width=19,padx=2, command=lambda t='item_pickup': show(t)).grid(row=2, column=5)
Label(root, text="P", relief=GROOVE, underline=0,padx=58).grid(row=1, column=6)
Button(root, text="player_activate",underline=0,width=19,padx=2, command=lambda t='player_activate': show(t)).grid(row=2, column=6)
Button(root, text="player_blind",underline=0,width=19,padx=2, command=lambda t='player_blind': show(t)).grid(row=3, column=6)
Button(root, text="player_changename",underline=0,width=19,padx=2, command=lambda t='player_changename': show(t)).grid(row=4, column=6)
Button(root, text="player_chat",underline=0,width=19,padx=2, command=lambda t='player_chat': show(t)).grid(row=5, column=6)
Button(root, text="player_class",underline=0,width=19,padx=2, command=lambda t='player_class': show(t)).grid(row=6, column=6)
Button(root, text="player_connect",underline=0,width=19,padx=2, command=lambda t='player_connect': show(t)).grid(row=7, column=6)
Button(root, text="player_death",underline=0,width=19,padx=2, command=lambda t='player_death': show(t)).grid(row=8, column=6)
Button(root, text="player_disconnect",underline=0,width=19,padx=2, command=lambda t='player_disconnect': show(t)).grid(row=9, column=6)
Button(root, text="player_falldamage",underline=0,width=19,padx=2, command=lambda t='player_falldamage': show(t)).grid(row=10, column=6)
Button(root, text="player_footstep",underline=0,width=19,padx=2, command=lambda t='player_footstep': show(t)).grid(row=11, column=6)
Button(root, text="player_hurt",underline=0,width=19,padx=2, command=lambda t='player_hurt': show(t)).grid(row=12, column=6)
Button(root, text="player_info",underline=0,width=19,padx=2, command=lambda t='player_info': show(t)).grid(row=13, column=6)
Button(root, text="player_jump",underline=0,width=19,padx=2, command=lambda t='player_jump': show(t)).grid(row=14, column=6)
Button(root, text="player_radio",underline=0,width=19,padx=2, command=lambda t='player_radio': show(t)).grid(row=15, column=6)
Button(root, text="player_say",underline=0,width=19,padx=2, command=lambda t='player_say': show(t)).grid(row=16, column=6)
Button(root, text="player_score",underline=0,width=19,padx=2, command=lambda t='player_score': show(t)).grid(row=17, column=6)
Button(root, text="player_shoot",underline=0,width=19,padx=2, command=lambda t='player_shoot': show(t)).grid(row=18, column=6)
Button(root, text="player_spawn",underline=0,width=19,padx=2, command=lambda t='player_spawn': show(t)).grid(row=19, column=6)
Button(root, text="player_team",underline=0,width=19,padx=2, command=lambda t='player_team': show(t)).grid(row=20, column=6)
Button(root, text="player_use",underline=0,width=19,padx=2, command=lambda t='player_use': show(t)).grid(row=21, column=6)
Label(root, text="",underline=0,width=19,padx=2).grid(row=22, column=6)
Label(root, text="R", relief=GROOVE, underline=0,padx=58).grid(row=11, column=1)
Button(root, text="round_end",underline=0,width=19,padx=2, command=lambda t='round_end': show(t)).grid(row=12, column=1)
Button(root, text="round_start",underline=0,width=19,padx=2, command=lambda t='round_start': show(t)).grid(row=13, column=1)
Label(root, text="S", relief=GROOVE, underline=0,padx=58).grid(row=11, column=2)
Button(root, text="server_addban",underline=0,width=19,padx=2, command=lambda t='server_addban': show(t)).grid(row=12, column=2)
Button(root, text="server_cvar",underline=0,width=19,padx=2, command=lambda t='server_cvar': show(t)).grid(row=13, column=2)
Button(root, text="server_message",underline=0,width=19,padx=2, command=lambda t='server_message': show(t)).grid(row=14, column=2)
Button(root, text="server_removeban",underline=0,width=19,padx=2, command=lambda t='server_removeban': show(t)).grid(row=15, column=2)
Button(root, text="server_shutdown",underline=0,width=19,padx=2, command=lambda t='server_shutdown': show(t)).grid(row=16, column=2)
Button(root, text="smokegrenade_detonate",underline=0,width=19,padx=2, command=lambda t='smokegrenade_detonate': show(t)).grid(row=17, column=2)
Label(root, text="V", relief=GROOVE, underline=0,padx=58).grid(row=11, column=3)
Button(root, text="vip_escaped",underline=0,width=19,padx=2, command=lambda t='vip_escaped': show(t)).grid(row=12, column=3)
Button(root, text="vip_killed",underline=0,width=19,padx=2, command=lambda t='vip_killed': show(t)).grid(row=13, column=3)
Label(root, text="W", relief=GROOVE, underline=0,padx=58).grid(row=11, column=4)
Button(root, text="weapon_fire",underline=0,width=19,padx=2, command=lambda t='weapon_fire': show(t)).grid(row=12, column=4)
Button(root, text="weapon_fire_on_empty",underline=0,width=19,padx=2, command=lambda t='weapon_fire_on_empty': show(t)).grid(row=13, column=4)
Button(root, text="weapon_reload",underline=0,width=19,padx=2, command=lambda t='weapon_reload': show(t)).grid(row=14, column=4)
Button(root, text="weapon_zoom",underline=0,width=19,padx=2, command=lambda t='weapon_zoom': show(t)).grid(row=15, column=4)
Label(root, text="Es Events", relief=GROOVE, underline=0,padx=38).grid(row=11, column=5)
Button(root, text="es_client_command",underline=0,width=19,padx=2, command=lambda t='es_client_command': show(t)).grid(row=12, column=5)
Button(root, text="es_map_start",underline=0,width=19,padx=2, command=lambda t='es_map_start': show(t)).grid(row=13, column=5)
Button(root, text="es_player_chat",underline=0,width=19,padx=2, command=lambda t='es_player_chat': show(t)).grid(row=14, column=5)
Button(root, text="es_player_setting",underline=0,width=19,padx=2, command=lambda t='es_player_setting': show(t)).grid(row=15, column=5)
Button(root, text="es_player_validated",underline=0,width=19,padx=2, command=lambda t='es_player_validated': show(t)).grid(row=16, column=5)
root.mainloop()
