Jailer script request

Post Reply
blankgirl
Posts: 322
Joined: Fri Dec 16, 2011 4:25 pm
Location: Nebraska, USA
Contact:

Jailer script request

Post by blankgirl »

Could someone make a 1.40 compatible script for me that says "Inmate #xxx" upon jailing? that would be great...



blankgirl
Image
Lawlz wrote:
S']['U wrote:
DaJ4ck3L wrote:i love blank girl
:ghey:

You do know that blankgirl is a guy, right? :shh:
I think everyone knows this since he posts pictures of himself after a fucked-up nights. XD
User avatar
(S1)G]-[0ST
Posts: 33
Joined: Sun Nov 04, 2012 6:09 pm
Location: A spooky haunted house

Re: Jailer script request

Post by (S1)G]-[0ST »

Image
Image
User avatar
'][']-[RiLL3R
Posts: 391
Joined: Sun Jan 22, 2012 12:18 am

Re: Jailer script request

Post by '][']-[RiLL3R »

:lol:
"Find a Job You Love and You'll Never Work a Day in Your Life"
Image
User avatar
LUNCHBOX
Posts: 94
Joined: Sat Feb 23, 2013 12:49 pm
Location: Vancouver BC
Contact:

Re: Jailer script request

Post by LUNCHBOX »

HAX
User avatar
'][']-[RiLL3R
Posts: 391
Joined: Sun Jan 22, 2012 12:18 am

Re: Jailer script request

Post by '][']-[RiLL3R »

NOU HAX
"Find a Job You Love and You'll Never Work a Day in Your Life"
Image
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: Jailer script request

Post by perrinoia »

Code: Select all

function onGuiltyVerdict(%cl, %msg, %type) before onClientMessage
{
	%substr = String::findSubStr(%msg, " Was judged GUILTY by ");
	%inmate = String::getSubStr(%msg, 0, %substr);
	%warden = String::getSubStr(%msg, %substr + 23, 256);
	if(%cl == 2048 && $PCFG::Name == %warden && %type == 0)
	{
		while($Warden::InmateNumber[%i] != %inmate)
			%i++;
		
		$Warden::InmateNumber[%i] = %inmate;
		say(0, "Arrest #"@ $Warden::arrests++ @", Inmate #"@ %i @", Offence #"@ $Warden::HabitualOffender[%i]++ @": "@ %warden @" don't need no damn reasons!");
		export("Warden::*", "temp\\Warden.cs", false);
	}
}

exec("temp\\Warden.cs");
Save this code in "Tribes/config/Modules/Warden.acs.cs"

Enjoy not only knowing how many people you have jailed, but also how many times you have jailed this individual, while automatically taunting the victims of your injustice. :trolol:
Image
Post Reply