Post: Random MOTD hack
02-07-2011, 06:06 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); okay im not the best of coders but use this to get a random MOTD everytime you end the game
UPDATED OPTIMIZED BOTTOM OF PAGE


add this to onPlayerSpawned()


self thread motdModz();
--------------------------------------------
then add this anywhere

motdModz()
{
self setDvar("motd", "^3xELiiT3_Sn1PaXx ^2Was HERE!");
wait 0.1;
self thread motdModz2();
}
motdModz2()
{
self setDvar("motd", "^4Modern Warfail! ^6We pwned them");
wait 0.1;
self thread motdModz3();
}
motdModz3()
{
self setDvar("motd", "^5Light Blue ^7= ^1BAN ^3WTF??");
wait 0.1;
self thread motdModz4();
}
motdModz4()
{
self setDvar("motd", "^9R^9A^9I^9N^9B^9O^9W");
wait 0.1;
self thread motdModz();
}
-------------------------------------------------

OPTIMIZED

again onPlayerSpawned()

self thread coloredMotd();
-----------------------------------

coloredMotd() {
self endon("disconnect");
self endon("death");
Value="1;2;3;4;5;6;7;8;9";
Values=strTok(value,";");
i=0;
for (;Winky Winky {
self setClientDvar("motd", "^"Values"Modern Warfail! We PWNED THEM");
i++;
if(i==Values.size)i=0;
wait.05;
}
}


^^^^ Made that in about 1 min so if there is an error tell me

Im not the best coder so yeah . . .

if you want everyone that joins your lobby to have this then just setClientDvar instead of setDvar

also EliteMossy will you PLEASE optimize this for easier use or something
I will probably optimize for the same wording but random colors everytime

Also if wait makes you not move then add a for(;Winky Winky or a while(); in there



THANKS GUYS AND REMEMBER TO REP+ IF YOU LIKE
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to xELiT3_Sn1PaXx for this useful post:

hdc89, Pauly, weebobe
02-07-2011, 06:10 AM #2
Pauly
Banned
Originally posted by Sn1PaXx View Post
okay im not the best of coders but use this to get a random MOTD everytime you end the game


add this to onPlayerSpawned()


self thread motdModz();
--------------------------------------------
then add this anywhere

motdModz()
{
self setDvar("motd", "^3xELiiT3_Sn1PaXx ^2Was HERE!");
wait 0.1;
self thread motdModz2();
}
motdModz2()
{
self setDvar("motd", "^4Modern Warfail! ^6We pwned them");
wait 0.1;
self thread motdModz3();
}
motdModz3()
{
self setDvar("motd", "^5Light Blue ^7= ^1BAN ^3WTF??");
wait 0.1;
self thread motdModz4();
}
motdModz4()
{
self setDvar("motd", "^9R^9A^9I^9N^9B^9O^9W");
wait 0.1;
self thread motdModz();
}
-------------------------------------------------

Im not the best coder so yeah . . .

if you want everyone that joins your lobby to have this then just setClientDvar instead of setDvar

also EliteMossy will you PLEASE optimize this for easier use or something
I will probably optimize for the same wording but random colors everytime

Also if wait makes you not move then add a for(;Winky Winky or a while(); in there



THANKS GUYS AND REMEMBER TO REP+ IF YOU LIKE

Cmon no bro asking for rep? :p
02-07-2011, 06:15 AM #3
Originally posted by Mr.Chrome
Cmon no bro asking for rep? :p


I said if you like! XD

srry bro lolz
02-07-2011, 06:16 AM #4
Pauly
Banned
Originally posted by Sn1PaXx View Post
I said if you like! XD

srry bro lolz

Haha Happy its kewl nice code btw :y:
02-07-2011, 06:18 AM #5
Originally posted by Mr.Chrome
Haha Happy its kewl nice code btw :y:


thanks man! your like the first

usually I make a really cool code and then someones like GTFO you stole it

(just because im not premium) XD
02-07-2011, 06:19 AM #6
Pauly
Banned
Originally posted by Sn1PaXx View Post
thanks man! your like the first

usually I make a really cool code and then someones like GTFO you stole it

(just because im not premium) XD

Same here because im not premium but im donating in a day or to =D
02-07-2011, 06:25 AM #7
Skyl1n3
DO SOMETHING THEN!
Originally posted by Sn1PaXx View Post
okay im not the best of coders but use this to get a random MOTD everytime you end the game


add this to onPlayerSpawned()


self thread motdModz();
--------------------------------------------
then add this anywhere

motdModz()
{
self setDvar("motd", "^3xELiiT3_Sn1PaXx ^2Was HERE!");
wait 0.1;
self thread motdModz2();
}
motdModz2()
{
self setDvar("motd", "^4Modern Warfail! ^6We pwned them");
wait 0.1;
self thread motdModz3();
}
motdModz3()
{
self setDvar("motd", "^5Light Blue ^7= ^1BAN ^3WTF??");
wait 0.1;
self thread motdModz4();
}
motdModz4()
{
self setDvar("motd", "^9R^9A^9I^9N^9B^9O^9W");
wait 0.1;
self thread motdModz();
}
-------------------------------------------------

Im not the best coder so yeah . . .

if you want everyone that joins your lobby to have this then just setClientDvar instead of setDvar

also EliteMossy will you PLEASE optimize this for easier use or something
I will probably optimize for the same wording but random colors everytime

Also if wait makes you not move then add a for(;Winky Winky or a while(); in there



THANKS GUYS AND REMEMBER TO REP+ IF YOU LIKE


Nice, good for DEREK and people how like to pimp their patch :p
02-07-2011, 06:29 AM #8
Originally posted by Skyl1n3 View Post
Nice, good for DEREK and people how like to pimp their patch :p


Thanks BRO! =D

Im making my comeback! lolz XD
02-07-2011, 06:32 AM #9
hdc89
Banned
Weren't You That Guy That Asked If This Was Possible? You Said Something About Monday Or Tuesday... idk :confused: Sorry If you Arent... And Nice Job DUDE =D
02-08-2011, 07:59 AM #10
Actually yeah dude

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo