Script Stats

Soldat Central :: Index > Administrative > View Script

MEMBER LOGIN

Username:

Password:

Remember me?

Not a member? Register now!

Lost Password? Click here

LATEST SCRIPTS

Private Knife Only S... by Mighty

Function ReadLine by Squiddy

Accuracy Script for... by Mighty

TOP SCRIPTS

Curts Script Update... by DorkeyDear

Soldat Portal by MetalWarrior

Unpause Countdown by SpiltCoffee

FEATURED SCRIPTS

- Script of the Week -

Accuracy Script for...

by Mighty

- Script of the Month -

Accuracy Script for...

by Mighty

RECENTLY VIEWED

Unpause Countdown by SpiltCoffee

Search And Destroy by Norbo

Time Recorder by Rampage_Terranius

QUICK SEARCH

IRC Channel

#soldat.central on QuakeNet


Soldat Top 100
Donate towards my web hosting bill!

Unpause Countdown by SpiltCoffee

Script Name: Unpause Countdown Add Favorite
Author: SpiltCoffee
Release Date: 5th of August 2008 (2 years ago)
Compile Test: Passed
Total Score: 8.4 (14 Ratings) - Ratings -
5
4
3
2
1
Rate Script:
Server Version: 2.6.4
Last View: 8th of September 2010 @ 02:09:08 PM
Last Download: 8th of September 2010 @ 01:09:18 PM

Total Views: 3,412
Total Downloads: 884
Bandwidth: 1.92 MB (estimate)
Total Size: 2.22 KB
   

Script Description
Adds a countdown timer to the /unpause command.

Example
Unpausing...
3...
2...
1...
GO!


Additionally, if you type /pause when the countdown is going, the countdown is cancelled.

Script is commented for your reading pleasure.
Updated to work with 2.6.4






Script Contents
Name Size Note
Includes.txt 20 B
UnpauseCountdown142.pas 2.3 KB
UnpauseCountdown.pas 2.18 KB





Comments
upnPAD
Posted 1 year ago |

Moderator
Just made a small modification for blo0rg, he wanted to allow players to pause and unpause the game with !pause and !unpause.

http://nopaste.org/p/asixnM3Hlb

If it becomes annoying and players !pause and !unpause for the fun of it or to annoy other players, you can disable it using the option on Line 3.

SpiltCoffee, I added a line after Line 2, and then everything in OnPlayerSpeak. Nothing else was changed.

SpiltCoffee
Posted 1 year ago |

Moderator
Scrapped RegExpMatch, instead, using MaskCheck.

Tah, upnPAD

SpiltCoffee
Posted 2 years ago |

Moderator
Wow, never knew those commands were so insensitive.

Fixed with a bit of RegExpMatch. :D

DorkeyDear
Posted 2 years ago |

Scripter
Tip: For /pause and /unpause, it only checks the first part of the command for a case-insensitive equality.
For example "/UnpAuseGOOD" will work correctly.


Add Comment

Not a member? Register now!




"Most people have the will to win, few have the will to prepare to win."