All checks were successful
link / Link assets on Linux (push) Successful in 33s
24 lines
404 B
Plaintext
24 lines
404 B
Plaintext
CHAT_MESSAGE_COUNT = 3096;
|
|
|
|
init()
|
|
{
|
|
thread message_thread();
|
|
}
|
|
|
|
message_thread()
|
|
{
|
|
level endon( "game_ended" );
|
|
|
|
while ( true )
|
|
{
|
|
row = randomintrange( 0, CHAT_MESSAGE_COUNT );
|
|
|
|
out = tablelookupbyrow( "mp/chat_messages.csv", row, 0 );
|
|
|
|
printconsole( "Sending chat message: \"" + out + "\"\n" );
|
|
exec( "say \"" + out + "\"" );
|
|
|
|
wait( 6 );
|
|
}
|
|
}
|