Author Topic: rules  (Read 4666 times)

just a simple rules script i made it say no spamming, no asking for admin ,no swearing if anyone wants some more stuff added i will......

type /rules in game to see the rules

just copy and paste into add-ons folder

**UPDATE** Fixed swaring to swearing
« Last Edit: November 25, 2007, 02:13:44 PM by zoneark »

Make a file in your Add-Ons folder called, for instance, "script_rules.cs" Makes sure that it's extension is .cs

Open up the file with wordpad and copy + paste this:

Code: [Select]
function ServerCmdHelp(%client)
{

messageClient(%client,"","\c6RULES GO HERE");
messageClient(%client,"","\c6RULES GO HERE");
messageClient(%client,"","\c6RULES GO HERE");


}
For each line, have another messageClient. Replace 'RULES GO HERE' with the rules. KEEP THE QUOTATIONS.

To color your rules, put this below your rules function:

Code: [Select]
function ServerCmdColors(%client)
{
messageClient(%client,"","\c00 \c11 \c22 \c33 \c44 \c55 \c66 \c77 \c88 \c99");
}

Type /colors ingame to see the colors. To change the colors in the code, replace the '\c6' with the number of course. For instance, if you wanted the color of '1' change it to '\c1'
So... You edited IBan's example script and then release it with zero credit. ("i made")

It's "swearing" not "swaring".

I could use this.  It's like explaining things to noobs without actually doing so.  A dream come true.

How could you think you'd get away with that lol

Epic fail for shoddily done script stealing.

The point is it's conveiniant.(i hope I didn't speel that wrong)
Cookie for you! :cookie:
How could you think you'd get away with that lol
I guess it is impossible but it would be less noobs to deal with.  There is always the ban threat.
« Last Edit: November 25, 2007, 11:19:31 AM by Lord Pie »

this should be moved to coding help. It gives a basis for "newbie" coders to create their own rules and other things, and modify this to give credit.  :panda:


i just took what iban did and put rules i it its not script stealing i would have had to do the same thing anywas and it was under scripting help....

i just took what iban did and put rules i it its not script stealing i would have had to do the same thing anywas and it was under scripting help....
Quote
i made it

You took what he did and called it yours. I think that counts as "stealing".

well i ment to type up there

just a simple rules script i made it say no spamming, no asking for admin ,no swearing if anyone wants some more stuff added i will......

This sort of thing has no point - you still have to bug people to type /rules.

it would be more of a hassle to use a gui ......

This sort of thing has no point - you still have to bug people to type /rules.
i fail this topic!
« Last Edit: November 25, 2007, 12:59:00 PM by {Scorpion} »

it would be more of a hassle to use a gui ......

Wrong. With that it would be an in-your-face, read me or else sort of thing.