btunderrepair()

btmux-0.6-rc4/game/text/wizhelp/cat_functions/btunderrepair() · 406 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& btunderrepair()
 
  Syntax: btunderrepair(<UnitDB>)
 
  This function returns a value of '1' if the specified mech is under 
  repair, and '0' if it is not.
 
  Error Messages:
 
  * If <UnitDB> is not a valid RS unit the function will return #-2
  * For any other error the function will return #-1 
 
  Example:
 
  > think btunderrepair(#2983)
  1
  > think btunderrepair(#1024)
  0

Site Stats

Snippets: 1791
Codebases: 571