Author Topic: Server Rules Plus V1  (Read 1755 times)

Server Rules Plus enables you to edit the server rules via text file.  When the client spawns in the game they are alerted to type /rules.

Edit the rules in Base/config/rules.txt

http://rapidshare.com/files/84680693/Server_Rules_Plus.zip.html
« Last Edit: January 18, 2008, 12:33:42 AM by ROCKETBOOM »

Can I make the rule "No shi[size=0pt] [/size]tting in public"?

Can I make the rule "No shi[size=0pt] [/size]tting in public"?

You bypassed the filter.


This one tells them to type /rules not look in the console, I believe some credit is needed if the script is stolen (hell no im not checking do it yourself)

Rapid Share sucks use Media Fire instead.

Code: [Select]
package Rules { 
 function GameConnection::onClientEnterGame(%this,%lanname,%netname,%clantag1,%clantag2)
   {
    Parent::onClientEnterGame(%this,%lanname,%netname,%clantag1,%clantag2);
    schedule(500,0,Notice,%this,%lanname,%netname);
   }

 function Notice(%this, %lanname, %netname)
   {// if it doesnt use the lanname and netname why the frick are they there?
    messageClient(%this,'Rules',"\c4Be sure to read the rules by typing \/rules!");
   }

   function serverCmdrules(%client)
   {
      %file = new FileObject();
      %file.openForRead("base/config/rules.txt");
      while(!%file.isEOF()){
      %line = %file.readLine();
      %line[%lines] = %line;//and... why are you doing this?
      %lines++;
        messageClient(%client,'Rules',"\c5" @ %line);
   }
%file.close();
%file.delete();
   }

};

activatepackage(Rules);

Your script is awkward.

Mine goes to the console for a reason.
I, and I'm sure many other people agree about this, don't like having there chat box spammed with rules. If you agree, download this instead
« Last Edit: January 18, 2008, 06:25:16 PM by Curiosity Core »

Omg, I LOVE how this got moved to coding help