16
Drama / Re: The Fall Of Blockland...
« on: October 27, 2007, 11:42:20 PM »I might quit blockland...
DO IT pusillanimous individual
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I might quit blockland...
function ServerCmdDocRead(%client, %doc)
{
%file = new FileObject(); // This makes %file a File-Type Variable
if(!isFile("Add-Ons/manipulate/" @ %doc @ ".txt")) { messageClient(%client,"","This file does not exist."); return;} // Without this Test-For-Existence code, an invalid file name would spell crash.
%file.openforRead("Add-Ons/manipulate/" @ %doc @ ".txt"); // Sets the value of %file
while(!%file.isEOF()) // Will loop through every line of the file until 'End of File'
{
%line = %file.readLine(); //%line = the current line
messageClient(%client,"","\c2" @ %line); //Tells the client the line
}
messageClient(%client,"","\c6End of File"); //Tells the client the document has been ended
%file.close(); //Closes the document
%file.delete(); //Deletes the *VARIABLE*
}
Good Job!
Much success!
Good Job!
Much success!
End Of Document
function ServerCmdDocWrite(%client, %doc, %write)
{
%write = strreplace(%write, "SPC", " "); // Replaces the word 'SPC' with a space. Cheap ass way of avoiding the 50 variable method.
%file = new FileObject();
if(!isFile("Add-Ons/manipulate/" @ %doc @ ".txt")) { messageClient(%client,"","This file does not exist."); return;}
%file.openforWrite("Add-Ons/manipulate/" @ %doc @ ".txt"); // Opens the Document for Writing
%file.writeline(%write); // Writes the Line
messageClient(%client, "", "\c2The file was written upon."); //Alerts client that the file has been written to
%file.close();
%file.delete();
}
The File was written Upon
Hello My Good Friend
End Of Document
That makes no sense. You don't know me, yet you're makingDont quote me you little Tarddo you really still hate me for something that happened in a video game like 6 months ago...
No your just gay beyond reasonfalse(Ambiguous) presumptions aboutpeople your meeting on the internetme....(2 Main Nouns - Ellipses not needed) Thats quite sad. There's also the fact you think you know everyone on the internet enough to tell them what they are,...even when its false. There's also no problem with gay people; I can say this with absolute certainty because I've sucked and been pounded by so many black richards It cant possibly be immoral.
Dont quote me you little Tarddo you really still hate me for something that happened in a video game like 6 months ago...
No, you're just gay beyond reason.
Dont quote me you little Tard
betrayal!I can shootz threw walls! i hax!
plz ban mods
I didn't mind ace leaving cause i didn't know him, I got over tails leaving, but i just found out partizan left D:
I think all those wars has been started by a person. *rolls eyes* a really BIG person.
Iban, GTFO.