//////////////////////////////////////////////////////////////////////////////////// // SVR Mod, for CoD Support site: http://aigaming.net | number_07@hotmail.com // //////////////////////////////////////////////////////////////////////////////////// // ADMINS: Be very careful when editing this file, as the server may crash! // Edit the text between the quotes only. Do not remove any arg1 , arg2 . // To prevent a message from displaying altogether, place a // in front of // the line itself, as in the following example: //case "disconnect": _p iprintln (arg1+ " ^5a quitté le serveur"); break; //////////////////////////////////////////////////////////////////////////////////// global(type, arg1, arg2, arg3) // misc. messages to all players.. { if (isDefined(level.svrInEndMap)) return; for (i = 0; i < level.players.size; i++) { if (!isDefined(level.players[i])) continue; _p = level.players[i]; if (!isDefined(_p.pers["svrLanguage"])) switch (type) // messages for language #1 { // status case "connecting": _p iprintln (arg1+ " ^5 Raméne sa tronche sur le serveur"); break; case "joinedTeam": _p iprintln (arg1+ " ^5 Va combattre au côté des " +arg2); break; case "spectators": _p iprintln (arg1+ " ^5 A rejoint les spectateurs"); break; case "connected": _p iprintln (arg1+ " ^5 A été parachuté sur le serveur"); break; case "disconnect": _p iprintln (arg1+ " ^5 S'est cassé du serveur"); break; // server msg case "roundInfo": _p iprintln ("^5Round joué ^3" +arg1+ " ^5of ^3" +arg2+ " ^5on ^3" +arg3); break; case "teamScores": _p iprintln ("^5Team Scores: " +arg1); break; case "nextMapGt": _p iprintln ("^5La map suivante est : " +arg1); break; case "headshots": _p iprintln (arg1+ " ^3a le plus de headshots: " +arg2); break; case "knifekills": _p iprintln (arg1+ " ^3a le plus de frag au Cut: " +arg2); break; // misc stuff case "campingMsg": _p iprintln (arg1+ " ^5is being punished for camping"); break; case "tkKick": _p iprintln (arg1+ " ^5est kické pour teamkilling"); break; case "healSelf": _p iprintln (arg1+ " ^3se soigne"); break; case "healTeam": _p iprintln (arg1+ " ^3applique des soins a " +arg2); break; // weapon mode case "bashOn": _p iprintlnbold ("^3Activation du Mod couteau only"); break; case "pistolsOn": _p iprintlnbold ("^3Activation du Mod pistolet only"); break; case "shotgunsOn": _p iprintlnbold ("^3Activation du Mod fusil a Papy"); break; case "noobtubesOn": _p iprintlnbold ("^3Activation du Mod Lance Patate"); break; case "rnadesOn": _p iprintlnbold ("^3Activation du Mod Rifle avec Grenades"); break; case "flamesOn": _p iprintlnbold ("^3Activation du Mod Lance-Flamme only"); break; case "boltsOn": _p iprintlnbold ("^3Activation du Mod Bolt-Action"); break; case "riflesOn": _p iprintlnbold ("^3Enabling Rifles Only Mode"); break; case "normalMode": _p iprintlnbold ("^3Activation du Mod All Weapons"); break; // admin menu case "perkMenu": _p iprintlnbold ("^3The Perk Menu Is "+arg1); break; case "gVoice": _p iprintlnbold ("^3Global Voice Is "+arg1); break; case "3rdPlay": _p iprintlnbold ("^3De la Vue a la 3eme Personne "+arg1); break; case "endingMap": _p iprintlnBold ("^3L'Admin a terminé la Map"); break; case "restartMap": _p iprintlnBold ("^3L'Admin a redémarré la map"); break; case "changeMap": _p iprintlnBold ("^3L'Admin a changé de map"); break; } else switch (type) // messages for language #2 { // status case "connecting": _p iprintln (arg1+ " ^5is connecting to the server"); break; case "joinedTeam": _p iprintln (arg1+ " ^5will fight for the " +arg2); break; case "spectators": _p iprintln (arg1+ " ^5has joined spectators"); break; case "connected": _p iprintln (arg1+ " ^5has joined the server"); break; case "disconnect": _p iprintln (arg1+ " ^5has left the server"); break; // server msg case "roundInfo": _p iprintln ("^5Playing round ^3" +arg1+ " ^5of ^3" +arg2+ " ^5on ^3" +arg3); break; case "teamScores": _p iprintln ("^5Team Scores: " +arg1); break; case "nextMapGt": _p iprintln ("^5Coming Up Next: " +arg1); break; case "headshots": _p iprintln (arg1+ " ^3has most headshots: " +arg2); break; case "knifekills": _p iprintln (arg1+ " ^3has most knifekills: " +arg2); break; // misc stuff case "campingMsg": _p iprintln (arg1+ " ^5is being punished for camping"); break; case "tkKick": _p iprintln (arg1+ " ^5is being kicked for teamkilling"); break; case "healSelf": _p iprintln (arg1+ " ^3applied first aid"); break; case "healTeam": _p iprintln (arg1+ " ^3applied first aid to " +arg2); break; // weapon mode case "bashOn": _p iprintlnbold ("^3Enabling Knife Mode"); break; case "pistolsOn": _p iprintlnbold ("^3Enabling Pistol Mode"); break; case "shotgunsOn": _p iprintlnbold ("^3Enabling Shotgun Mode"); break; case "noobtubesOn": _p iprintlnbold ("^3Enabling NoobTube Mode"); break; case "rnadesOn": _p iprintlnbold ("^3Enabling Rifle Grenades"); break; case "flamesOn": _p iprintlnbold ("^3Enabling Flamethrower Mode"); break; case "boltsOn": _p iprintlnbold ("^3Enabling Bolt-Action Mode"); break; case "riflesOn": _p iprintlnbold ("^3Enabling Rifles Only Mode"); break; case "normalMode": _p iprintlnbold ("^3Enabling Standard Weapons"); break; // admin menu case "perkMenu": _p iprintlnbold ("^3The Perk Menu Is "+arg1); break; case "gVoice": _p iprintlnbold ("^3Global Voice Is "+arg1); break; case "3rdPlay": _p iprintlnbold ("^33rd Person Play Is "+arg1); break; case "endingMap": _p iprintlnBold ("^3Admin is ending this map"); break; case "restartMap": _p iprintlnBold ("^3Admin is restarting the map"); break; case "changeMap": _p iprintlnBold ("^3Admin is changing the map"); break; } } } personal(type, arg1, arg2, arg3) // messages to a single player.. { if (isDefined(level.svrInEndMap)) return; self endon("svrKillThread"); if (!isDefined(self.pers["svrLanguage"])) switch (type) // messages for language #1 { case "madeHeadshot": self iprintlnbold (level.svrObitsColor + "Tu lui as explosé la tête d'une distance de " +arg1+ "m"); return; case "tookHeadshot": self iprintlnbold (level.svrObitsColor + "Tu t'es fait exploser la tête par ^7" +arg1); return; case "knifeKill": self iprintlnbold (level.svrObitsColor + "Tu as été egorgé par ^7" +arg1); return; case "bayonetKill": self iprintlnbold (level.svrObitsColor + "Tu t'es fait éviscérer par ^7" +arg1); return; // case "youFired": self iprintln ("^3Spawn protection terminée (Appui sur tir)"); return; case "youMoved": self iprintln ("^3Spawn protection terminée (tu es sorti de la zone protégée)"); return; case "rankGain": self iprintln ("^5Tu as gagné un grade: ^3" + self.pers["rankName"]); return; case "rankLost": self iprintln ("^5Tu as perdu un grade: ^3" + self.pers["rankName"]); return; // case "mustCrouch": self iprintlnbold ("^3Restez accroupis sur ce serveur SVP"); return; case "spankCrouch": self iprintlnbold ("^3Tu vas être punis pour non respect des régles"); return; case "kickCrouch": self iprintlnbold ("^3Tu vas être kické pour non respect des règles"); return; // case "maxHealth": self iprintln ("^3Votre vie est au max"); return; case "healDone": self iprintln ("^3Vous avez fini de guérir"); return; // case "campingMsg": self iprintlnbold ("^3You are being punished for camping"); return; case "welcomeMsg": self iprintlnbold ("^2Bienvenue sur le serveur, ^7" + self.name); return; case "tkWarning": self iprintlnbold ("^1ATTENTION: ^3 Encore 1 teamkill et tu seras kické"); return; case "afkWarning": self iprintlnbold ("^3Bouges ton cul ou tu vas passer en spectateur"); return; case "nameChange": self iprintlnbold ("^3Désolé, mais change ton nom"); return; case "youVotedFor": self iprintln ("^3Vous avez voté pour: ^2" +arg1 +arg2 +arg3); return; case "noSpecVote": self iprintln ("^3Désolé, les spectateurs ne votent pas"); return; // case "killcamKnife": self iprintlnbold ("^3La killcam est activée uniquement pour les Cuts et Baïonettes"); return; case "killcamClose": self iprintlnbold ("^3Pas de Killcam pour une distance de moins de: " +arg1+ "m"); return; // case "restricted": self iprintlnbold ("^3Your restricted weapon has been replaced"); return; case "noSavedClass": self iprintlnbold ("^3Tu n'as pas de classe sauvegardée dans le slot 1 " +arg1); return; case "savingOrder": self iprintlnbold ("^3Sauvez le slot1 en premier, puis le slot2, puis le slot3"); return; case "invalidClass": self iprintlnbold ("^3Tu n'as pas de classe a sauvegarder"); return; case "savedClass": self iprintlnbold ("^3Ta classe en cours est sauvegardée"); return; case "forcingClass": self iprintlnbold ("^3Le serveur force [" +arg1+ "] classe uniquement"); return; } else switch (type) // messages for language #2 { case "madeHeadshot": self iprintlnbold (level.svrObitsColor + "You made a headshot from " +arg1+ "m"); return; case "tookHeadshot": self iprintlnbold (level.svrObitsColor + "You took a headshot from ^7" +arg1); return; case "knifeKill": self iprintlnbold (level.svrObitsColor + "You were knifed by ^7" +arg1); return; case "bayonetKill": self iprintlnbold (level.svrObitsColor + "You were butchered by ^7" +arg1); return; // case "youFired": self iprintln ("^3Spawn protection ended (attack button pressed)"); return; case "youMoved": self iprintln ("^3Spawn protection ended (you moved from area)"); return; case "rankGain": self iprintln ("^5You have gained a rank: ^3" + self.pers["rankName"]); return; case "rankLost": self iprintln ("^5You have lost a rank: ^3" + self.pers["rankName"]); return; // case "mustCrouch": self iprintlnbold ("^3Please remain crouched on this server"); return; case "spankCrouch": self iprintlnbold ("^3You are being punished for crouch violations"); return; case "kickCrouch": self iprintlnbold ("^3You are being kicked for crouch violations"); return; // case "maxHealth": self iprintln ("^3You are at maximum health"); return; case "healDone": self iprintln ("^3You have finished healing"); return; // case "campingMsg": self iprintlnbold ("^3You are being punished for camping"); return; case "welcomeMsg": self iprintlnbold ("^2Welcome to the server, ^7" + self.name); return; case "tkWarning": self iprintlnbold ("^1WARNING: ^31 more teamkill, you will be kicked"); return; case "afkWarning": self iprintlnbold ("^3Start moving or you'll become a Spectator"); return; case "nameChange": self iprintlnbold ("^3Sorry, your name has to be changed"); return; case "youVotedFor": self iprintln ("You have voted for: ^2" +arg1 +arg2 +arg3); return; case "noSpecVote": self iprintln ("^3Sorry, spectators are unable to vote"); return; // case "killcamKnife": self iprintlnbold ("^3Killcam enabled for knife/bayonet kills only"); return; case "killcamClose": self iprintlnbold ("^3No killcam if distance is less than: " +arg1+ "m"); return; // case "restricted": self iprintlnbold ("^3Your restricted weapon has been replaced"); return; case "noSavedClass": self iprintlnbold ("^3You do not have a saved class in slot " +arg1); return; case "savingOrder": self iprintlnbold ("^3Save slot1 first, then save slot2, then slot3"); return; case "invalidClass": self iprintlnbold ("^3You do not have a class to save"); return; case "savedClass": self iprintlnbold ("^3Your current class has been saved"); return; case "forcingClass": self iprintlnbold ("^3Server is forcing [" +arg1+ "] class only"); return; } } gametypes(type, arg1, arg2) // various gametype messages.. { if (isDefined(level.svrInEndMap)) return; for (i = 0; i < level.players.size; i++) { if (!isDefined(level.players[i])) continue; _p = level.players[i]; if (!isDefined(_p.pers["svrLanguage"])) switch (type) // messages for language #1 { case "hqSpawn": _p iprintln ("^3La radio apparait dans " +arg1+ " seconds"); break; case "hqCapture": _p iprintln ("^3HQ capturé par^9: ^7" +arg1); break; case "hqDestroy": _p iprintln ("^3HQ détruit par^9: ^7" +arg1); break; case "hqSuccess": _p iprintlnbold ("^3 " +arg1+ " ont tenu avec succés la radio!"); break; // case "hidden": _p iprintln ("^3La Position du porteur de drapeau est masquée pour " +arg1+ " seconds"); break; case "revealed": _p iprintln ("^3Affichage position porteur de drapeau active!"); break; // // arg1 is the playername, arg2 is their teamname case "defendFlag": _p iprintln (arg1+ " ^3defend le " +arg2+ " flag"); break; case "defendRadio": _p iprintln (arg1+ " ^3defend la " +arg2+ " radio"); break; case "defendCargo": _p iprintln (arg1+ " ^3defend le " +arg2+ " cargo"); break; case "defendBomb": _p iprintln (arg1+ " ^3defend la " +arg2+ " bombe"); break; case "defendZone": _p iprintln (arg1+ " ^3defend la " +arg2+ " bombzone"); break; case "assistFlag": _p iprintln (arg1+ " ^3aide le " +arg2+ " porteur"); break; // case "pickup": _p iprintln (arg1+ " ^3a pris le drapeau^7"); break; case "dropped": _p iprintln (arg1+ " ^3a perdu le drapeau^7"); break; case "capture": _p iprintln (arg1+ " ^3a capturé le drapeau^7"); break; case "flagSpawn": _p iprintln ("^3Le drapeau apparait dans " +arg1+ " seconds!^7"); break; case "timeout": _p iprintln ("^3Le drapeau non capturé va réapparaitre^7"); break; } else switch (type) // messages for language #2 { case "hqSpawn": _p iprintln ("^3Radio will spawn in " +arg1+ " seconds"); break; case "hqCapture": _p iprintln ("^3HQ captured by^9: ^7" +arg1); break; case "hqDestroy": _p iprintln ("^3HQ destroyed by^9: ^7" +arg1); break; case "hqSuccess": _p iprintlnbold ("^3The " +arg1+ " successfully held their radio!"); break; // case "hidden": _p iprintln ("^3Carrier position hidden for " +arg1+ " seconds"); break; case "revealed": _p iprintln ("^3Carrier position revealed!"); break; // // arg1 is the playername, arg2 is their teamname case "defendFlag": _p iprintln (arg1+ " ^3defended the " +arg2+ " flag"); break; case "defendRadio": _p iprintln (arg1+ " ^3defended the " +arg2+ " radio"); break; case "defendCargo": _p iprintln (arg1+ " ^3defended the " +arg2+ " cargo"); break; case "defendBomb": _p iprintln (arg1+ " ^3defended the " +arg2+ " bomb"); break; case "defendZone": _p iprintln (arg1+ " ^3defended the " +arg2+ " bombzone"); break; case "assistFlag": _p iprintln (arg1+ " ^3assisted the " +arg2+ " carrier"); break; // case "pickup": _p iprintln (arg1+ " ^3stole the flag^7"); break; case "dropped": _p iprintln (arg1+ " ^3dropped the flag^7"); break; case "capture": _p iprintln (arg1+ " ^3captured the flag^7"); break; case "flagSpawn": _p iprintln ("^3The flag will spawn in " +arg1+ " seconds!^7"); break; case "timeout": _p iprintln ("^3The uncaptured flag will be respawned^7"); break; } } } spree(dude, kills, ended) // killspree messages.. { if (isDefined(level.svrInEndMap)) return; wait 0.05; for (i = 0; i < level.players.size; i++) { if (!isDefined(level.players[i]) || !isDefined(dude)) continue; _p = level.players[i]; if (!isDefined(_p.pers["svrLanguage"])) // messages for language #1 { if (ended) _p iprintln (dude.name + " ^3ta série de frag est terminée, tu es mort !"); else if (kills == game["svrSpreeInt1"]) _p iprintln (dude.name + " ^3commence bien avec " +kills+ " frags a la suite"); else if (kills == game["svrSpreeInt2"]) _p iprintln (dude.name + " ^3est sur la bonne voie avec" +kills+ " frags a la suite"); else if (kills == game["svrSpreeInt3"]) _p iprintln (dude.name + " ^3est un tueur " +kills+ " frags a la suite"); else if (kills == game["svrSpreeInt4"]) _p iprintln (dude.name + " ^3est un cinglé avec " +kills+ " frags a la suite"); else if (kills == game["svrSpreeInt5"]) _p iprintln (dude.name + " ^3est digne de BLOODWAR avec " +kills+ " frags a la suite"); } else // messages for language #2 { if (ended) _p iprintln (dude.name + " ^3killing spree has ended"); else if (kills == game["svrSpreeInt1"]) _p iprintln (dude.name + " ^3is doing good with " +kills+ " consecutive kills"); else if (kills == game["svrSpreeInt2"]) _p iprintln (dude.name + " ^3is on a roll with " +kills+ " consecutive kills"); else if (kills == game["svrSpreeInt3"]) _p iprintln (dude.name + " ^3is a killer with " +kills+ " consecutive kills"); else if (kills == game["svrSpreeInt4"]) _p iprintln (dude.name + " ^3is a madman with " +kills+ " consecutive kills"); else if (kills == game["svrSpreeInt5"]) _p iprintln (dude.name + " ^3is a badass with " +kills+ " consecutive kills"); } } } bodySearch(type, arg1, arg2) // body-search messages.. { if (isDefined(level.svrInEndMap)) return; self endon("svrKillThread"); if (!isDefined(self.pers["svrLanguage"])) switch (type) // messages for language #1 { case "health": self iprintlnbold ("Tu as trouvé une trousse de vie"); return; case "pistol": self iprintlnbold ("Tu as trouvé un pistolet"); return; case "grenade": self iprintlnbold ("Tu as trouvé une grenade"); return; case "special": self iprintlnbold ("Tu as trouvé une arme spéciale"); return; case "secondary": self iprintlnbold ("Tu as trouvé une arme secondaire"); return; // case "random0": self iprintlnbold ("Tu as trouvé un vieux preservatif"); return; case "random1": self iprintlnbold ("Tu as trouvé du dentifrice"); return; case "random2": self iprintlnbold ("Tu as trouvé le CD de Call of Duty"); return; case "random3": self iprintlnbold ("Tu as trouvé une photo de ta femme"); return; case "random4": self iprintlnbold ("Tu as trouvé une boite de spam"); return; case "random5": self iprintlnbold ("Tu as trouvé une paire de chaussettes"); return; case "random6": self iprintlnbold ("Tu as trouvé un sandwich avarié"); return; case "random7": self iprintlnbold ("Tu as trouvé un jeu de carte"); return; case "random8": self iprintlnbold ("Tu as trouvé une biere chaude"); return; case "random9": self iprintlnbold ("Tu n'as rien trouvé"); return; } else switch (type) // messages for language #2 { case "health": self iprintlnbold ("You found a healthpack"); return; case "pistol": self iprintlnbold ("You found a pistol"); return; case "grenade": self iprintlnbold ("You found a grenade"); return; case "special": self iprintlnbold ("You found a special weapon"); return; case "secondary": self iprintlnbold ("You found a secondary weapon"); return; // case "random0": self iprintlnbold ("You found some pocket change"); return; case "random1": self iprintlnbold ("You found toothpaste"); return; case "random2": self iprintlnbold ("You found a Call of Duty CD"); return; case "random3": self iprintlnbold ("You found a picture of your wife"); return; case "random4": self iprintlnbold ("You found a can of Spam"); return; case "random5": self iprintlnbold ("You found a pair of socks"); return; case "random6": self iprintlnbold ("You found a half-eaten sandwich"); return; case "random7": self iprintlnbold ("You found a deck of cards"); return; case "random8": self iprintlnbold ("You found a warm beer"); return; case "random9": self iprintlnbold ("You found nothing"); return; } } clientMenu(type, arg1, arg2) // client menu messages.. { if (isDefined(level.svrInEndMap)) return; self endon("svrKillThread"); if (!isDefined(self.pers["svrLanguage"])) switch (type) // messages for language #1 { case "waitStats": self iprintlnbold ("^3Attendez 1 min avant de checker vos stats"); return; case "noStats": self iprintlnbold ("^3Vous n'avez pas de stats sur cette map"); return; // case "voice": self iprintlnbold ("^3Vos Game Voiceovers Sont "+arg1); return; case "spec": self iprintlnbold ("^3Les Spectateurs Sont "+arg1); return; case "dot": self iprintlnbold ("^3Your Laserdot Is "+arg1); return; // case "language1": self iprintlnbold ("^3Votre langage est sur Français"); return; case "language2": self iprintlnbold ("^3Your language is set to English"); return; } else switch (type) // messages for language #2 { case "waitStats": self iprintlnbold ("^3Please wait 1 minute to check stats again"); return; case "noStats": self iprintlnbold ("^3You do not have any stats for this map"); return; // case "voice": self iprintlnbold ("^3Your Game Voiceovers Are "+arg1); return; case "spec": self iprintlnbold ("^3Third Person Spectate Is "+arg1); return; case "dot": self iprintlnbold ("^3Your Laserdot Is "+arg1); return; // case "language1": self iprintlnbold ("^3Your language is set to language1"); return; case "language2": self iprintlnbold ("^3Your language is set to language2"); return; } } admin(type, arg1, arg2) // admin command messages.. { if (isDefined(level.svrInEndMap)) return; self endon("svrKillThread"); if (!isDefined(self.pers["svrLanguage"])) switch (type) // messages for language #1 { case "beam": self iprintln ("^3tu as été teleporté par un admin"); return; case "burn": self iprintln ("^3Tu t'es fait cramé la tronche par un admin"); return; case "explode": self iprintln ("^3Tu as été envoyé en enfer par un admin"); return; case "drugged": self iprintln ("^3Faut arrêter le Pinard mon gars, ça va te tuer!"); return; // case "crouch": self iprintln ("^3Tu as été forcé accroupi par un admin"); return; case "crouchoff": self iprintln ("^3Tu as été assez accroupi,tu peux y aller"); return; case "disarm": self iprintln ("^3Tu n'as plus d'arme car tu es un boulet l'ami !");return; case "disarmoff": self iprintln ("^3Tu peux de nouveau reprendre les armes !"); return; case "lock": self iprintln ("^3Tu es gelé par un Admin !"); return; case "lockoff": self iprintln ("^3Tu as été dégelé par un Admin"); return; // case "swapping": self iprintlnbold ("^5Permutation Allies-vers-Axis, Axis-vers-Allies");return; case "beingMoved": self iprintlnbold ("^5Tu as été muté en " +arg1); return; case "spectator": self iprintlnbold ("^5Tu as été muté en spectateur"); return; // case "hideadmin": self iprintlnbold ("^5Tu es en spectateur invisible"); return; case "showadmin": self iprintlnbold ("^5Tu n'es plus en spectateur invisible"); return; } else switch (type) // messages for language #2 { case "beam": self iprintln ("^3You've been teleported by the admin"); return; case "burn": self iprintln ("^3You're being burned to death by the admin"); return; case "explode": self iprintln ("^3You've been blown to hell by the admin"); return; case "drugged": self iprintln ("^3You've been drugged by the admin"); return; // case "crouch": self iprintln ("^3You've been forced to crouch by the admin"); return; case "crouchoff": self iprintln ("^3You are no longer forced to crouch"); return; case "disarm": self iprintln ("^3Your weapons have been removed by the admin");return; case "disarmoff": self iprintln ("^3You are free to use your weapons now"); return; case "lock": self iprintln ("^3You've been locked by the admin"); return; case "lockoff": self iprintln ("^3You've been unlocked by the admin"); return; // case "swapping": self iprintlnbold ("^5Swapping Allies-to-Axis, Axis-to-Allies");return; case "beingMoved": self iprintlnbold ("^5You are being moved to " +arg1); return; case "spectator": self iprintlnbold ("^5You are being moved to Spectator"); return; // case "hideadmin": self iprintlnbold ("^5You are a hidden spectator"); return; case "showadmin": self iprintlnbold ("^5You are no longer hidden"); return; } } stats(type, arg1, arg2) // stats mod messages.. { if (isDefined(level.svrInEndMap)) return; self endon("svrKillThread"); if (!isDefined(self.pers["svrLanguage"])) switch (type) // messages for language #1 { case "viewStats": self iprintln ("^3Ouvre ta console en appuyant sur [^5shift-tilde^3] pour voir tes stats"); return; case "updateWait": self iprintln ("^3Attends un peu, on met a jour les stats"); return; case "curStats": self iprintln ("^3Tes stats actuelles pour cette map:"); return; case "totAwards": self iprintln ("^3Ton score final: " +arg1); return; case "totKills": self iprintln ("^3Ton nombre de Frag: " +arg1); return; case "totDeaths": self iprintln ("^3Ton nombre de mort: " +arg1); return; case "totRating": self iprintln ("^3Ton ratio total: " +arg1); return; } else switch (type) // messages for language #2 { case "viewStats": self iprintln ("^3Open console [^5shift-tilde^3] to review your stats"); return; case "updateWait": self iprintln ("^3Please wait while we update the stats"); return; case "curStats": self iprintln ("^3Your current stats for this map:"); return; case "totAwards": self iprintln ("^3Your total awards: " +arg1); return; case "totKills": self iprintln ("^3Your total kills: " +arg1); return; case "totDeaths": self iprintln ("^3Your total deaths: " +arg1); return; case "totRating": self iprintln ("^3Your total rating: " +arg1); return; } }