Page 1 of 1

Jailer script request

Posted: Fri Mar 15, 2013 10:58 pm
by blankgirl
Could someone make a 1.40 compatible script for me that says "Inmate #xxx" upon jailing? that would be great...



blankgirl

Re: Jailer script request

Posted: Mon Mar 18, 2013 5:45 pm
by (S1)G]-[0ST
Image

Re: Jailer script request

Posted: Mon Mar 18, 2013 6:24 pm
by '][']-[RiLL3R
:lol:

Re: Jailer script request

Posted: Wed May 01, 2013 3:06 pm
by LUNCHBOX
HAX

Re: Jailer script request

Posted: Wed May 01, 2013 10:07 pm
by '][']-[RiLL3R
NOU HAX

Re: Jailer script request

Posted: Mon Mar 24, 2014 4:32 pm
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: