Blockland Forums > Modification Help

Mods of Ottosparks (it's over one hundred for some raisin)

Pages: << < (5/13) > >>

otto-san:


--- Quote from: mp7964 on October 01, 2011, 04:37:30 PM ---c:

Am I on the beta list, Otto? c:

--- End quote ---
yes

Eeposs:


--- Quote from: otto-san on October 02, 2011, 02:32:26 AM ---yes

--- End quote ---
Can i beta test plox?

Jacob 123456789:

wo

Crown2:

I am a really awesome guy who is pretty cool.


What is that music thing though? ( the client_songs)

otto-san:


--- Quote from: Crown2 on October 02, 2011, 08:31:25 AM ---What is that music thing though? ( the client_songs)

--- End quote ---

It's a simple thing I wrote to basically chat a bunch of lines of chat.


--- Code: ---function loadSong(%song, %wait)
{
%file = new fileObject();
%file.openForRead("config/client/Songs/"@%song@".txt");
while(!%file.isEOF())
{
%i++;
%waitTime = %i*%wait;
%line = %file.readLine();
schedule(%waitTime, 0, commandToServer, 'messageSent', %line);
}
%file.close();
%file.delete();
}
--- End code ---

loadSong(filename, mswait);

Put songs in config/client/Songs/songname.txt.

mswait is the time in milliseconds before each line is said.

Pages: << < (5/13) > >>

Go to full version