Thanks!
by Zear
⤓ Download · 664 BThis script will automatically thank your teammates for repairing you... Requirements PrestoPack v0.93
- Filename
thanks.cs- Size
- 664 B (listed 664 bytes)
- Type
- CS
- Developer
- Zear
- Date
- 2009-01-15 (theexiled upload)
- Format
- ASCII text, with CRLF line terminators
Readme — thanks.cs (from the archive itself)
// THANKS.CS - original script by Zear
// Modified by Presto for PrestoPak compatibility
$thanksFloodTime = 15; // For 15 seconds we won't thank him again.
Include("presto\\match.cs");
Include("presto\\say.cs");
Include("presto\\event.cs");
function ThanksOnClientMessage(%client, %msg) {
if (%client != 0)
return;
if (Match::ParamString(%msg, "Being repaired by %p")) {
%player = Match::Result(p);
if (Flood::Protect("thanks"@%player, $thanksFloodTime)) {
say(1, "Thanks, "@ %player);
Say::Local(sayThanks); // so everyone doesn't have to hear
}
return;
}
}
Event::Attach(eventClientMessage, ThanksOnClientMessage);Source: The Exiled — Tribes Repository
Original page: https://library.theexiled.pwnageservers.com/file.php?id=544
Archived source HTML: theexiled/mirror-html/file/544.html
Original page: https://library.theexiled.pwnageservers.com/file.php?id=544
Archived source HTML: theexiled/mirror-html/file/544.html