⌂Starsiege: Tribes Community Archive

FlagCall

by Presto
⤓ Download · 457 B
Automatically announce when you've captured the flag... Get it if you already had a script like this in your autoexec when you installed the PrestoPack. Drop it in your config directory, and add it to your autoexec *after* the prestopack. Requirements PrestoPack v0.93
Filename
FlagCall.cs
Size
457 B (listed 457 bytes)
Type
CS
Developer
Presto
Date
2009-01-15 (theexiled upload)
Format
ASCII text, with CRLF line terminators
Readme — FlagCall.cs (from the archive itself)
// FlagCall.cs  - original script by ?
// modified by Presto for PrestoPak compatibility

Include("presto\\match.cs");
Include("presto\\say.cs");
Include("presto\\event.cs");

function FlagCallOnClientMessage(%client, %msg) {
	if (%client != 0)
		return;
	if (Match::String(%msg, "You took the *")) {
		Say::Team(flagHave, "I've got the flag!  Secure our base!");
		return;
		}
	}
Event::Attach(eventClientMessage, FlagCallOnClientMessage);
flagcall
Source: The Exiled — Tribes Repository
Original page: https://library.theexiled.pwnageservers.com/file.php?id=534
Archived source HTML: theexiled/mirror-html/file/534.html