All pastes #577154 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-19 20:03 UTC
rendered paste body
case '1': {
						char *multikillmsg ;
						if (eth.killSpreeCount == 2) {
								multikillmsg = " ^1*** DOUBLEKILL***^7";
						}
						else if (eth.killSpreeCount == 3) {
							
								multikillmsg = " ^1*** MULTIKILL***^7";
						}
						else if (eth.killSpreeCount == 4) {
								multikillmsg = " ^1*** ULTRAKILL***^7";
						}
						else if (eth.killSpreeCount > 4) {
								multikillmsg = " ^1*** MONSTERKILL***^7";
						}
						else
							break;
						if (eth.killSpreeCount >= 2)
						sprintf(out, "^2%s ^7was owned %s ", eth.VictimName, multikillmsg);
					break;
					}
					case '2': {
						char *multikillmsg;

						if (eth.killSpreeCount == 2) {
							
								multikillmsg = " ^1--> ^3D^9ouble ^3K^9ill^3!";
							
						}
						else if (eth.killSpreeCount == 3) {
							
								multikillmsg = " ^1--> ^3M^9ulti ^3K^9ill^3!";
							
						}
						else if (eth.killSpreeCount == 4) {
							
								multikillmsg = " ^1--> ^3U^9ltra ^3K^9ill^3!";
							
						}
						else if (eth.killSpreeCount > 4) {
							
								multikillmsg = " ^1--> ^3M^9onster ^3K^9ill^3!";
						}
						else
							break;
						if (eth.killSpreeCount >= 2)
						sprintf(out, "^2%s ^3W^9as ^3O^9wned^3! %s ", eth.VictimName, multikillmsg);
						break;
					}
					case '3': {
						char *multikillmsg;
						
						if (eth.killSpreeCount == 2) {
							
								multikillmsg = " ^7::: ^2Doublekill ^7:::";
							
						}
						else if (eth.killSpreeCount == 3) {
							
								multikillmsg = " ^7::: ^2Multikill ^7:::";
							
						}
						else if (eth.killSpreeCount == 4) {
							
								multikillmsg = " ^7::: ^2Ultrakill ^7:::";
							
						}
						else if (eth.killSpreeCount >= 5) {
							
								multikillmsg = " ^7::: ^2Monsterkill ^7:::";
						}
						else
							break;
						if (eth.killSpreeCount >= 2)
						sprintf(out, "%s ", multikillmsg);
						break;
					}
					case 'e': {
						char *msg;
						 if (eth.killCountNoDeath == 10) {
							msg = "^7... is ^/tied for the lead! ^%(10 frags in a row)";
						}
						else if (eth.killCountNoDeath == 15) {
								msg =  "^7... has ^3taken the lead! ^%(15 frags in a row)";
						
						}
						else if (eth.killCountNoDeath == 20) {
								msg = "^7... is on a ^3KILLING SPREE!!! ^%(20 frags in a row)";
						}	
						else if (eth.killCountNoDeath == 25) {
								msg = "^7... is ^/DOMINATING!!! ^%(25 frags in a row)";
						}
						else if (eth.killCountNoDeath == 30) {
								msg = "^7... is on a ^/RAMPAGE!!! ^%(30 frags in a row)";
						}
						else
							break;
						if (eth.killSpreeCount == 2)
						sprintf(out, "%s ", msg);
						break;
					}
					case '6': {
						char *multikillmsg;
						if (eth.killSpreeCount == 2) {
							multikillmsg = "^1!^7DOUBLEKILL^1!";
					}
					else if (eth.killSpreeCount == 3) {
							multikillmsg = "^1!^3MULTIKILL^1!";
					}
					else if (eth.killSpreeCount == 4) {
						
							multikillmsg = "^1!^3ULTRAKILL^1!";
					}
					else if (eth.killSpreeCount == 5) {
							multikillmsg = "^1!!^3MONSTERKILL^1!!";
					}
					else if (eth.killSpreeCount > 6) {
							multikillmsg = "^1!!^3HOLY SHIT^1!!";
					}
					
					else
						break;
						if (eth.killSpreeCount >= 2)
						sprintf(out, multikillmsg, sizeof(out));	
						break;
					}
					case 'R': {
						char *msg;
						if (eth.killCountNoDeath == 10) {
								msg = "^7is on a  ^1KILLING SPREE!!! ^3(10 frags in a row)";
						}
						else if  (eth.killCountNoDeath == 15) {
								msg = "^7is ^1DOMINATING!!! ^3(15 frags in a row)";
						}
						else if  (eth.killCountNoDeath == 20) {
								msg = "^7is on a ^1RAMPAGE!!! ^3(20 frags in a row)";
						}
						else if  (eth.killCountNoDeath == 25) {
								msg = "^7is ^1UNSTOPPABLE!!! ^3(25 frags in a row)";
						}
						else if  (eth.killCountNoDeath == 30) {
								msg = "^7is ^1WICKED SICK!!! ^3(30 frags in a row)";
						}
						else if  (eth.killCountNoDeath == 35) {
								msg = "^7is on a ^1MEGA KILLINGSPREE!!! ^3(35 frags in a row)";
						}
						else if  (eth.killCountNoDeath == 40) {
								msg = "^7is ^1OMFGHAXOR!!! ^3(40 frags in a row)";
						}
						else if  (eth.killCountNoDeath == 45) {
								msg = "^3I'M HARD AS FUCKING STEEL!!! ^3(45 frags in a row)";
						}
						else if  (eth.killCountNoDeath == 50) {
								msg = "^NOBODY CAN STOP ME NOW!!! ^3(50 frags in a row)";
						}
						else
							break;
						if (eth.killCountNoDeath >= 2)
						sprintf(out, "%s ", msg);	
						break;
					}
					case '5': {
						char *multikillmsg;
						int randmsg = rand() % 3;
						if (eth.killSpreeCount == 2) {
							if (!randmsg)
								multikillmsg = " ^1-> ^7doubleLEAK!";
							else if (randmsg == 1)
								multikillmsg = " ^1-> ^7doubleLEAK!";
							else
								multikillmsg = " ^1-> ^7doubleLEAK!";
						}
						else if (eth.killSpreeCount == 3) {
							if (!randmsg)
								multikillmsg = " ^1-> ^7multiLEAK!";
							else if (randmsg == 1)
								multikillmsg = " ^1-> ^7multiLEAK!"; 
							else
								multikillmsg = " ^1-> ^7multiLEAK!"; 
						}
						else if (eth.killSpreeCount == 4) {
							if (!randmsg)
								multikillmsg = " ^1-> ^7ultraLEAK!";
							else if (randmsg == 1)
								multikillmsg = " ^1-> ^7ultraLEAK!";
							else
								multikillmsg = " ^1-> ^7ultraLEAK!";
						}
						else if (eth.killSpreeCount > 4) {
							if (!randmsg)
								multikillmsg = " ^1-> ^7monsterLEAK!";
							else if (randmsg == 1)
								multikillmsg = " ^1-> ^7Holy Shit!!!!!LEAK";
							else
								multikillmsg = " ^1-> ^7monsterLEAK!";
						}
						else
							break;
						if (eth.killSpreeCount == 2)
						sprintf(out, "^2%s ^7was leaked! %s ", eth.VictimName, multikillmsg);	
						break;
					}
				default:
					break;
			}
			a += 2;
		}
		else
			out[b] = in[a];
		b = strlen(out);
	}

	strncpy(in,out,sizeof(out));
	return in;
}