//////////////////////////////////////////////////////////////////////////////////// // 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+ " ^5has left the server"); 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+ " ^5verbindet sich mit dem Server"); break; case "joinedTeam": _p iprintln (arg1+ " ^5kämpft für " +arg2); break; case "spectators": _p iprintln (arg1+ " ^5wechselt zu den Zuschauern"); break; case "connected": _p iprintln (arg1+ " ^5hat den Server betreten"); break; case "disconnect": _p iprintln (arg1+ " ^5hat den Server verlassen"); break; // server msg case "roundInfo": _p iprintln ("^5Runde ^3" +arg1+ " ^5von ^3" +arg2+ " ^5auf ^3" +arg3); break; case "teamScores": _p iprintln ("^5Team Punkte: " +arg1); break; case "nextMapGt": _p iprintln ("^5Als Nächstes folgt: " +arg1); break; case "headshots": _p iprintln (arg1+ " ^3hat die meisten Headshots: " +arg2); break; case "knifekills": _p iprintln (arg1+ " ^3hat die meisten Knifekills: " +arg2); break; // misc stuff case "campingMsg": _p iprintln (arg1+ " ^5wurde für Campen bestraft!"); break; case "tkKick": _p iprintln (arg1+ " ^5wurde wegen Teamkill gekickt!"); break; case "healSelf": _p iprintln (arg1+ " ^3verarztet sich selbst"); break; case "healTeam": _p iprintln (arg1+ " ^3leistet erste Hilfe bei " +arg2); break; // weapon mode case "bashOn": _p iprintlnbold ("^3Messer Modus wird aktiviert"); break; case "pistolsOn": _p iprintlnbold ("^3Pistolen Modus wird aktiviert"); break; case "shotgunsOn": _p iprintlnbold ("^3Schrotflinten Modus wird aktiviert"); break; case "noobtubesOn": _p iprintlnbold ("^3NoobTube Modus wird aktiviert"); break; case "rnadesOn": _p iprintlnbold ("^3Gewehrgranaten Modus wird aktiviert"); break; case "flamesOn": _p iprintlnbold ("^3Flammenwerfer Modus wird aktiviert"); break; case "boltsOn": _p iprintlnbold ("^3Repetiergewehr Modus wird aktiviert"); break; case "riflesOn": _p iprintlnbold ("^3Rifles Only Modus wird aktiviert"); break; case "normalMode": _p iprintlnbold ("^3Standardwaffen werden aktiviert"); break; // admin menu case "perkMenu": _p iprintlnbold ("^3Das Perk-Menü ist "+arg1); break; case "gVoice": _p iprintlnbold ("^3Sprach-Chat "+arg1); break; case "3rdPlay": _p iprintlnbold ("^33. Person-Ansicht wird "+arg1); break; case "endingMap": _p iprintlnBold ("Der Admin beendet diese Map"); break; case "restartMap": _p iprintlnBold ("Der Admin startet diese Map neu"); break; case "changeMap": _p iprintlnBold ("Der Admin wechselt zur nächsten 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 + "Sie erzielten einen Headshot aus " +arg1+ "m"); return; case "tookHeadshot": self iprintlnbold (level.svrObitsColor + "Sie erhielten einen Headshot von ^7" +arg1); return; case "knifeKill": self iprintlnbold (level.svrObitsColor + "Sie wurden gemessert von ^7" +arg1); return; case "bayonetKill": self iprintlnbold (level.svrObitsColor + "Sie wurden abgemetzelt von ^7" +arg1); return; // case "youFired": self iprintln ("^3Respawnschutz beendet (Angriffstaste wurde gedrückt)"); return; case "youMoved": self iprintln ("^3Respawnschutz beendet (Sie haben die Schutzzone verlassen)"); return; case "rankGain": self iprintln ("^5Sie wurden befördert: ^3" + self.pers["rankName"]); return; case "rankLost": self iprintln ("^5Sie wurden degradiert: ^3" + self.pers["rankName"]); return; // case "mustCrouch": self iprintlnbold ("^3Bitte bewegen Sie sich nur in geduckter Haltung auf diesem Server"); return; case "spankCrouch": self iprintlnbold ("^3Sie werden bestraft, weil Sie sich nicht in geduckter Haltung bewegen"); return; case "kickCrouch": self iprintlnbold ("^3Sie werden gekickt, weil Sie sich nicht in geduckter Haltung bewegen"); return; // case "maxHealth": self iprintln ("^3Sie sind nun vollständig gesund"); return; case "healDone": self iprintln ("^3Sie haben sich erholt"); return; // case "campingMsg": self iprintlnbold ("^3Du wurdest für Campen bestraft"); return; case "welcomeMsg": self iprintlnbold ("^2Willkommen auf dem Server, ^7" + self.name); return; case "tkWarning": self iprintlnbold ("^1WARNUNG: ^3Noch einen Teamkill und Sie werden gekickt!"); return; case "afkWarning": self iprintlnbold ("^3Bewegung! Oder Sie werden in den Zuschauermodus geschickt"); return; case "nameChange": self iprintlnbold ("^3Ihr Name musste geändert werden!"); return; case "youVotedFor": self iprintln ("Sie haben wie folgt abbestimmt: ^2" +arg1 +arg2 +arg3); return; case "noSpecVote": self iprintln ("^3Zuschauer können nicht abstimmen!"); return; // case "killcamKnife": self iprintlnbold ("^3Killcam zeigt nur Messer/Bajonett Kills an"); return; case "killcamClose": self iprintlnbold ("^3Killcam zeigt nur bei Abständen größer als " +arg1+ "m an!"); return; // case "restricted": self iprintlnbold ("^3Ihre Waffe wurde ersetzt"); return; case "noSavedClass": self iprintlnbold ("^3Sie haben keine Klasse an Position " +arg1+ " gespeichert"); return; case "savingOrder": self iprintlnbold ("^3Speichern Sie zuerst Position 1, dann Pos. 2 und zum Schluss Pos. 3"); return; case "invalidClass": self iprintlnbold ("^3Sie haben keine Klasse zum speichern"); return; case "savedClass": self iprintlnbold ("^3Ihre aktuelle Klasse wurde gespeichert"); return; case "forcingClass": self iprintlnbold ("^3Server lässt nur die Klasse [" +arg1+ "] zu"); 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 ("^3Radio erscheint in " +arg1+ " Sekunden"); break; case "hqCapture": _p iprintln ("^3HQ wurde eingenommen von^9: ^7" +arg1); break; case "hqDestroy": _p iprintln ("^3HQ wurde zerstört von^9: ^7" +arg1); break; case "hqSuccess": _p iprintlnbold ("^3Die " +arg1+ " haben das Radio erfolgreich gehalten!"); break; // case "hidden": _p iprintln ("^3Die Position des Trägers wird für " +arg1+ " Sekunden geheim gehalten"); break; case "revealed": _p iprintln ("^3Die Position des Trägers wurde enttarnt!"); break; // // arg1 is the playername, arg2 is their teamname case "defendFlag": _p iprintln (arg1+ " ^3verteidigte die Flagge für die " +arg2); break; case "defendRadio": _p iprintln (arg1+ " ^3verteidigte das Radio für die " +arg2); break; case "defendCargo": _p iprintln (arg1+ " ^3verteidigte die Fracht für die " +arg2); break; case "defendBomb": _p iprintln (arg1+ " ^3verteidigte die Bombe für die " +arg2); break; case "defendZone": _p iprintln (arg1+ " ^3verteidigte den Bombenplatz für die " +arg2); break; case "assistFlag": _p iprintln (arg1+ " ^3verteidigte den Flaggenträger für die " +arg2); break; // case "pickup": _p iprintln (arg1+ " ^3hat die Flagge aufgenommen^7"); break; case "dropped": _p iprintln (arg1+ " ^3hat die Flagge fallen gelassen^7"); break; case "capture": _p iprintln (arg1+ " ^3erobertere die Flagge^7"); break; case "flagSpawn": _p iprintln ("^3Die Flagge erscheint in " +arg1+ " Sekunden!^7"); break; case "timeout": _p iprintln ("^3Die Flagge erscheint erneut, da sie nicht erobert wurde^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 + " ^3Ihr Amoklauf hat hier sein Ende gefunden!"); else if (kills == game["svrSpreeInt1"]) _p iprintln (dude.name + " ^3macht seine Sache gut mit " +kills+ " Kills hintereinander!"); else if (kills == game["svrSpreeInt2"]) _p iprintln (dude.name + " ^3hat einen Lauf mit " +kills+ " Kills hintereinander!"); else if (kills == game["svrSpreeInt3"]) _p iprintln (dude.name + " ^3ist ein Killer mit " +kills+ " Kills hintereinander!"); else if (kills == game["svrSpreeInt4"]) _p iprintln (dude.name + " ^3ist ein Psychopath mit " +kills+ " aufeinanderfolgenden Kills!"); else if (kills == game["svrSpreeInt5"]) _p iprintln (dude.name + " ^3ist ein Amokläufer mit " +kills+ " und mehr aufeinanderfolgenden Kills!"); } 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 ("Sie haben ein Medipack gefunden"); return; case "pistol": self iprintlnbold ("Sie haben eine Pistole gefunden"); return; case "grenade": self iprintlnbold ("Sie haben eine Granate gefunden"); return; case "special": self iprintlnbold ("Sie haben etwas Besonderes gefunden"); return; case "secondary": self iprintlnbold ("Sie haben eine zweite Waffe gefunden"); return; // case "random0": self iprintlnbold ("Sie haben Wechselgeld gefunden"); return; case "random1": self iprintlnbold ("Sie haben eine Zahnpastatube gefunden"); return; case "random2": self iprintlnbold ("Sie haben eine Call of Duty CD gefunden"); return; case "random3": self iprintlnbold ("Sie haben ein Bild ihrer Frau gefunden"); return; case "random4": self iprintlnbold ("Sie haben eine Dose Schinkenwurst gefunden"); return; case "random5": self iprintlnbold ("Sie haben ein paar Socken gefunden"); return; case "random6": self iprintlnbold ("Sie haben ein angebissenes Sandwich gefunden"); return; case "random7": self iprintlnbold ("Sie haben Spielkarten gefunden"); return; case "random8": self iprintlnbold ("Sie haben ein warmes Bier gefunden"); return; case "random9": self iprintlnbold ("Sie haben nichts gefunden"); 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 ("^3Bitte warten Sie eine Minute, um die Stats erneut zu checken"); return; case "noStats": self iprintlnbold ("^3Sie haben noch keine Stats für diese Map"); return; // case "voice": self iprintlnbold ("^3Die Voiceovers wurden "+arg1); return; case "spec": self iprintlnbold ("^33. Person Zuschauer-Ansicht wurde "+arg1); return; case "dot": self iprintlnbold ("^3Ihr Laserpunktvisier wurde "+arg1); return; // case "language1": self iprintlnbold ("^3Die Sprache wurde auf Deutsch gestellt"); return; case "language2": self iprintlnbold ("^3Die Sprache wurde auf Englisch gestellt"); 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 German"); return; case "language2": self iprintlnbold ("^3Your language is set to English"); 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 ("^3Der Admin hat Sie teleportiert"); return; case "burn": self iprintln ("^3Der Admin hat Sie in Brand gesteckt"); return; case "explode": self iprintln ("^3Der Admin hat Sie in die Luft gejagt"); return; case "drugged": self iprintln ("^3Der Admin hat Sie betäubt"); return; // case "crouch": self iprintln ("^3Der Admin hat Sie zum Kriechen verdammt"); return; case "crouchoff": self iprintln ("^3Sie müssen nicht länger kriechen"); return; case "disarm": self iprintln ("^3Der Admin hat Ihnen die Waffen abgenommen"); return; case "disarmoff": self iprintln ("^3Sie können die Waffen wieder benutzen"); return; case "lock": self iprintln ("^3Der Admin hält Sie an dieser Stelle fest"); return; case "lockoff": self iprintln ("^3Sie können sich wieder bewegen"); return; // case "swapping": self iprintlnbold ("^5Teamwechsel Allies-zu-Axis und Axis-zu-Allies"); return; case "beingMoved": self iprintlnbold ("^5Sie wurden zum Team " +arg1+ " gewechselt"); return; case "spectator": self iprintlnbold ("^5Sie wurden in den Zuschauermodus geschickt"); return; // case "hideadmin": self iprintlnbold ("^5Sie sind jetzt ein unsichtbarer Zuschauer"); return; case "showadmin": self iprintlnbold ("^5Sie sind nicht länger unsichtbar"); 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 ("^3Öffnen Sie die Konsole [^5Umschalten + ^3] für Ihre Stats"); return; case "updateWait": self iprintln ("^3Bitte warten, die Stats werden gerade aktualisiert!"); return; case "curStats": self iprintln ("^Ihre derzeitigen Stats für diese Map:"); return; case "totAwards": self iprintln ("^3Ihre Auszeichnungen: " +arg1); return; case "totKills": self iprintln ("^3Gesamtzahl Ihrer Kills: " +arg1); return; case "totDeaths": self iprintln ("^3Gesamtzahl Ihrer Tode: " +arg1); return; case "totRating": self iprintln ("^3Ihre Gesamtbewertung: " +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; } }