-
Code: Select all
PlayerInventory( "ItemName" )
returns the amount of the item the player has in their inventory
Code: Select all
'PlayerSkillLevel( "SkillName" )
returns the level to which the player has learnt the particular skill
- parsing of
Code: Select all
else if ( CONDITION ) { ...
-
Code: Select all
Sleep( <TIME> )
Code: Select all
Event( "PlayerLogin", 0 )
added array syntax to playervar etc - i.e. you can use $GlobalVar1 or $GlobalVar[1]
(or.. more interestingly... $GlobalVar[$PlayerVar1 + 1] = 0 , for instance)
added
Code: Select all
Event ( "&command", "<COMMAND>" )
Code: Select all
Event( "&command", "help" )
added
Code: Select all
Rand( NUM )
Code: Select all
CancelTransaction()
- Added various new commands (that can be accessed by script) to the servers. Including..
Code: Select all
*resetallglobalvars
*resetallplayervars
*resetplayervars [NAME]
*setplayervar [NAME] [VARIABLE_NUM] [VALUE]
*setglobalvar [VARIABLE_NUM] [VALUE]
Code: Select all
NumPlayersOnTeam( TeamNum )
- added various global variables for retrieving info about the player, specifically..
Code: Select all
$gPlayerKills
$gPlayerDeaths
$gPlayerTeam
$gPlayerLevel
$gPlayerKudos
$gPlayerFamily
$gPlayerCash
$gPlayerHealth