updateQuickStats
MicroBlaster edited this page Dec 19, 2022
·
3 revisions
Purpose: Updates stats from the '/' command.
Syntax: updateQuickStats [silent]
silent: An optional paramater that will supress the output of this command.
Notes: updateQuickStats is pre-loaded library command that sends '/' and waits on the response. TWX Extractor automatically parses the response any time quickstats is displayed and populates System Constants including QUICKSTATS, which is a formated text that a bot can display on the screen or send over SubSpace.
Example:
updateQuickStats Silent
send "'*" QUICKSTATS "*"
echo "ShipClass : " SHIPCLASS
The following system vars were added to hold quickstats data:
TURNS - Returns the number of TURNS remaining.
CREDITS - Returns the number of Credits available.
FIGHTERS - Returns the number of Fighters available.
SHIELDS - Returns the number of Shields available.
TOTALHOLDS - Returns the total number of Holds in the ship.
OREHOLDS - Returns the number of Holds containing Fuel Ore in the ship.
ORGHOLDS - Returns the number of Holds containing Organics in the ship.
EQUHOLDS - Returns the number of Holds containing Equipment in the ship.
COLHOLDS - Returns the number of Holds containing Colonists in the ship.
EMPTYHOLDS - Returns the number of Empty holds in the ship.
PHOTONS - Returns the number of Photons available.
ARMIDS - Returns the number of Armid Mines available.
LIMPETS - Returns the number of Limpet Mines available.
GENTORPS - Returns the number of Genesis Torpedoes available.
TWARPTYPE - Returns the number of Photons available.
CLOAKS - Returns the number of Cloaks available.
BEACONS - Returns the number of Beacons available.
ATOMICS - Returns the number of Atomic Detonators available.
CORBOMITE - Returns the amount of Corbomite on the ship.
EPROBES - Returns the number of Either Probes available.
MINEDISR - Returns the number of Mine Disrupters available.
PSYCHICPROBE - Returns TRUE (1) if the ship has a Psychic Probe.
PLANETSCANNER - Returns TRUE (1) if the ship has a Planet Scanner.
SCANTYPE - Returns the type of Long Range scanner on the ship.
ALIGNMENT - Returns the players Alignment.
EXPERIENCE- Returns the players Experience.
CORP- Returns the players corp number.
SHIPNUMBER - Returns the number of the ship.
SHIPCLASS - returns hte Class od the ship.
QUICKSTATS - Returns a formatted string for use by Bots.
ANSIQUICKSTATS - Returns a formatted string for use by Bots.
QS - Returns an unformatted string for use by Bots.
QSTAT - Returns an unformatted string for use by Bots.
.