Author Topic: Auto ban Legend(Aragon).  (Read 5090 times)

Code: [Select]
package autoBanLegend{

function gameConnection::onClientEnterGame(%this){
if(%this.bl_id $= "713"){
  commandtoserver('ban',%this.name,%this.bl_id,-1,"cigarette");
   }
parent::onClientEnterGame(%this);
}

};

activatePackage(autoBanLegend);

Do it.
« Last Edit: December 05, 2007, 12:31:53 PM by MrPickle »

Give some logic to your requests, man, why should we do it? What did Legend do? Screenshots!

Give some logic to your requests, man, why should we do it? What did Legend do? Screenshots!

He's an all round noob. He is like King Noob.

Code: [Select]
package autoBanLegend{

function gameConnection::onClientEnterGame(%this){
if(%this.bl_id $= "713"){
  commandtoserver('ban',%this.name,%this.bl_id,-1,"cigarette");
   }
}

};

Do it.
It'll fail if you're hosting a dedicated server. :cookieMonster:

Note: The package isn't activating. Add a line to activate the package.

And I demanded screenshots. If that's not drama, then what is?



make it work on Young link.



do it yourself fool
Code: [Select]
package autoBanYoungLink{

function gameConnection::onClientEnterGame(%this){
if(%this.bl_id $= "ID HERE"){
  commandtoserver('ban',%this.name,%this.bl_id,-1,"REASON HERE");
   }
}

};

activatePackage(autoBanYoungLink);

lol, I forgot to parent it.

Just add his id to your banlist instead?

Quote from: Muffinmix link=topic=26063.msg382072#msg382072

Does it work in single player?

Lol'd
« Last Edit: December 05, 2007, 05:24:38 PM by Metalhed592 »

make it work on Young link.
yesplz
Does it work in single player?
yep, he'll never come into your single player games if you download this.