All pastes #570806 Raw Edit

Something

public text v1 · immutable
·published 2007-06-16 21:52 UTC
rendered paste body
case '1': {
						char *multikillmsg ;
						int randmsg = rand() % 3;
						if (eth.killSpreeCount == 2) {
							if (!randmsg)
							multikillmsg = " ^1*** DOUBLEKILL***^7";
						else if (randmsg == 1)
							multikillmsg = " ^1*** DOUBLEKILL***^7";
						else
							multikillmsg = " ^1*** DOUBLEKILL***^7";
					}
					else if (eth.killSpreeCount == 3) {
						if (!randmsg)
							multikillmsg = " ^1*** MULTIKILL***^7";
						else if (randmsg == 1)
							multikillmsg = " ^1*** MULTIKILL***^7";
						else
							multikillmsg = " ^1*** MULTIKILL***^7";
					}
					else if (eth.killSpreeCount == 4) {
						if (!randmsg)
							multikillmsg = " ^1*** ULTRAKILL***^7";
						else if (randmsg == 1)
							multikillmsg = " ^1*** ULTRAKILL***^7";
						else
							multikillmsg = " ^1*** ULTRAKILL***^7";
					}
					else if (eth.killSpreeCount > 4) {
						if (!randmsg)
							multikillmsg = " ^1*** MONSTERKILL***^7";
						else if (randmsg == 1)
							multikillmsg = " ^1*** HOLY SHIT ***^7";
						else
							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;
						int randmsg = rand() % 3;
						if (eth.killSpreeCount == 2) {
							if (!randmsg)
							multikillmsg = " ^1--> ^3D^9ouble ^3K^9ill^3!";
						else if (randmsg == 1)
							multikillmsg = " ^1--> ^3D^9ouble ^3K^9ill^3!";
						else
							multikillmsg = " ^1--> ^3D^9ouble ^3K^9ill^3!";
					}
					else if (eth.killSpreeCount == 3) {
						if (!randmsg)
							multikillmsg = " ^1--> ^3M^9ulti ^3K^9ill^3!";
						else if (randmsg == 1)
							multikillmsg = " ^1--> ^3M^9ulti ^3K^9ill^3!";
						else
							multikillmsg = " ^1--> ^3M^9ulti ^3K^9ill^3!";
					}
					else if (eth.killSpreeCount == 4) {
						if (!randmsg)
							multikillmsg = " ^1--> ^3U^9ltra ^3K^9ill^3!";
						else if (randmsg == 1)
							multikillmsg =" ^1--> ^3U^9ltra ^3K^9ill^3!";
						else
							multikillmsg = " ^1--> ^3U^9ltra ^3K^9ill^3!";
					}
					else if (eth.killSpreeCount > 4) {
						if (!randmsg)
							multikillmsg = " ^1--> ^3M^9onster ^3K^9ill^3!";
						else if (randmsg == 1)
							multikillmsg = " ^1--> ^3H^9oly ^3Shit^1!";
						else
							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;
						int randmsg = rand() % 3;
						if (eth.killSpreeCount == 2) {
							if (!randmsg)
							multikillmsg = " ^7::: ^2Doublekill ^7:::";
						else if (randmsg == 1)
							multikillmsg = " ^7::: ^2Doublekill ^7:::";
						else
							multikillmsg = " ^7::: ^2Doublekill ^7:::";
					}
					else if (eth.killSpreeCount == 3) {
						if (!randmsg)
							multikillmsg = " ^7::: ^2Multikill ^7:::";
						else if (randmsg == 1)
							multikillmsg = " ^7::: ^2Multikill ^7:::";
						else
							multikillmsg = " ^7::: ^2Multikill ^7:::";
					}
					else if (eth.killSpreeCount == 4) {
						if (!randmsg)
							multikillmsg = " ^7::: ^2Ultrakill ^7:::";
						else if (randmsg == 1)
							multikillmsg = " ^7::: ^2Ultrakill ^7:::";
						else
							multikillmsg = " ^7::: ^2Ultrakill ^7:::";
					}
					else if (eth.killSpreeCount > 4) {
						if (!randmsg)
							multikillmsg = " ^7::: ^2Monsterkill ^7:::";
						else if (randmsg == 1)
							multikillmsg = " ^7::: ^2Monsterkill ^7:::";
						else
							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;
						int randmsg = rand() % 3;
						if (eth.killSpreeCount == 2) {
							if (!randmsg)
							multikillmsg = "^1--> !^3DOUBLEKILL^1!";
						else if (randmsg == 1)
							multikillmsg = "^1--> !^3DOUBLEKILL^1!";
						else
							multikillmsg = "^1--> !^3DOUBLEKILL^1!";
					}
					else if (eth.killSpreeCount == 3) {
						if (!randmsg)
							multikillmsg = "^1--> !^3MULTIKILL^1!";
						else if (randmsg == 1)
							multikillmsg = "^1--> !^3MULTIKILL^1!";
						else
							multikillmsg = "^1--> !^3MULTIKILL^1!";
					}
					else if (eth.killSpreeCount == 4) {
						if (!randmsg)
							multikillmsg = "^1--> !^3ULTRAKILL^1!";
						else if (randmsg == 1)
							multikillmsg = "^1--> !^3ULTRAKILL^1!";
						else
							multikillmsg = "^1--> !^3ULTRAKILL^1!";
					}
					else if (eth.killSpreeCount > 5) {
						if (!randmsg)
							multikillmsg = "^1-->!!^3MONSTERKILL^1!!";
						else if (randmsg == 1)
							multikillmsg = "^1--> !!!^3HOLY SHIT^1!!!";
						else
							multikillmsg = "^1--> !!^3MONSTERKILL^1!!";
					}
					else
						break;
						strncat(out, multikillmsg, sizeof(out));
						break;
					}
					case 'R': {
						char *msg;
					 if (eth.killCountNoDeath == 10) {
							msg = "^3--> ^1KILLING SPREE!!! ^3(10 frags in a row)";
						}
					else if  (eth.killCountNoDeath == 15) {
							msg = "^3--> ^1DOMINATING!!! ^3(15 frags in a row)";
						}
					
					else if  (eth.killCountNoDeath == 20) {
							msg = "^3--> ^1RAMPAGE!!! ^3(20 frags in a row)";
						}
					else if  (eth.killCountNoDeath == 25) {
							msg = "^3--> ^1UNSTOPPABLE!!! ^3(25 frags in a row)";
						}
					else if  (eth.killCountNoDeath == 30) {
							msg = "^3--> ^1WICKED SICK!!! ^3(30 frags in a row)";
						}
					else if  (eth.killCountNoDeath == 35) {
							msg = "^3--> ^1MEGA KILLINGSPREE!!! ^3(35 frags in a row)";
						}
					else if  (eth.killCountNoDeath == 40) {
							msg = "^3--> ^1OMFGHAXOR!!! ^3(40 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;
}