Raised This Month: $12 Target: $400
 3% 

[TF2] Plug-in Request @ Random


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zyox123cc
Senior Member
Join Date: Jul 2016
Location: spycrab
Old 01-12-2017 , 06:56   [TF2] Plug-in Request @ Random
Reply With Quote #1

(Must be alive )
@random
sm_burn @bluerandom
sm_slay @redrandom
sm_votekick @random
I think this plug - in will become very fun: 3
zyox123cc is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 01-12-2017 , 08:15   Re: [TF2] Plug-in Request @ Random
Reply With Quote #2

You can do it with: https://forums.alliedmods.net/showthread.php?p=2105028
Edit: Here's an example config for the random filter.
Code:
"SuperTargeting"
{
	"@random"
	{
		"text"		"a random person"
		"alive"		"1"
		"random"		"1"
	}
	"@randomred"
	{
		"text"		"a random Red person"
		"alive"		"1"
		"random"		"1"
		"team"		"2"
	}
	"@randomblue"
	{
		"text"		"a random Blue person"
		"alive"		"1"
		"random"		"1"
		"team"		"3"
	}
}
The "random" "X" can be changed (X) to what ever amount of players you want to select randomly, this also follows any other targeting filters so you can customize to select a random scout on the red team that is currently alive. (just for an example).

Last edited by Mitchell; 01-12-2017 at 10:09.
Mitchell is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode