generated from crowbartools/firebot-custom-script-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Variables
Lee edited this page May 21, 2024
·
2 revisions
This plugin adds support for the following variables to Firebot:
Variable | Description | Example Result(s) |
---|---|---|
$ns2GameMode |
The mode of the map currently being played | "Normal", "Combat", "Skulks With Shotguns", "Siege" |
$ns2MapName |
The name of the map currently being played | "ns2_veil", "ns2_tram", "ns2_veil", "ns2_descent", "ns2_tram", "ns2_veil", "ns2_tram" |
$ns2ServerAddress |
The ip address and port of the server being played on. | "160.202.166.31:27015" |
$ns2ServerConnectLink |
One-click URL to allow other players to connect to the server. | "steam://run/4920//+connect%20160.202.166.31:27015" |
$ns2ServerLocation |
The location of the server being played on. | "United States", "Canada", "Germany", "United Kingdom", "Austrailia" |
$ns2ServerName |
A short name of the server being played on. | "Medi's House of Pain", "ENSL NYC", "BAD US #3 (CBM)" |
$ns2PlayerSkill |
Alias for $ns2PlayerSkill[Summary] . |
|
$ns2PlayerSkill[Summary] |
A brief textual summary of the player's various skill levels. | "Skill: 4181, ComSkill: 2087, TDSkill: 3661, TDComSkill: 1431" |
$ns2PlayerSkill[Pub] |
A brief textual summary of the player's pub skill levels. | "Skill: 4181, ComSkill: 2087" |
$ns2PlayerSkill[Skill] |
Overall skill level. | 4181 |
$ns2PlayerSkill[Com] |
Overall commander skill level. | 2087 |
$ns2PlayerSkill[Alien] |
Alien skill level. | 4326 |
$ns2PlayerSkill[Marine] |
Marine skill level. | 4036 |
$ns2PlayerSkill[AlienCom] |
Alien commander skill level. | 2219 |
$ns2PlayerSkill[MarineCom] |
Marine commander skill level. | 1955 |
$ns2PlayerSkill[Td] |
A brief textual summary of the player's ThunderDome skill levels. | "Skill: 3661, ComSkill: 1431" |
$ns2PlayerSkill[TDSkill] |
ThunderDome overall skill level. | 3661 |
$ns2PlayerSkill[TDCom] |
ThunderDome commander skill level. | 1431 |
$ns2PlayerSkill[TDAlien] |
ThunderDome alien skill level. | 3664 |
$ns2PlayerSkill[TDMarine] |
ThunderDome marine skill level. | 3658 |
$ns2PlayerSkill[TDAlienCom] |
ThunderDome alien commander skill level. | 1405 |
$ns2PlayerSkill[TDMarineCom] |
ThunderDome marine commander skill level. | 1457 |
$ns2SkillChange |
Alias for $ns2SkillChange[Summary] . |
|
$ns2SkillChange[Summary] |
A brief textual summary of the player's most recent overall skill value change. | "Skill: +28", "Skill: -16, ComSkill: -4", "TDSkill: +12, TDComSkill: +5" |
$ns2SkillChange[Pub] |
A brief textual summary of the player's most recent overall skill value change in pubs. | "Skill: +28, ComSkill: +2" |
$ns2SkillChange[Skill] |
The player's most recent overall skill value change in pubs as a number. | 28, -12, 16, -6, -19, -25 |
$ns2SkillChange[Com] |
The player's most recent overall commander skill value change in pubs as a number. | -24, -18, 14, 16, -20 |
$ns2SkillChange[Alien] |
The player's most recent alien team skill value change in pubs as a number. | 14, 16, -24, 19, -28 |
$ns2SkillChange[AlienCom] |
The player's most recent alien commander skill value change in pubs as a number. | 1, -2, -3, 4 |
$ns2SkillChange[Marine] |
The player's most recent marine team skill value change in pubs as a number. | 16, -16, 16, -16 |
$ns2SkillChange[MarineCom] |
The player's most recent marine commander skill value change in pubs as a number. | 15, 19, -20, 100 |
$ns2SkillChange[TD] |
A brief textual summary of the player's most recent overall skill value change in ThunderDome. | "Skill: +34, ComSkill: +2" |
$ns2SkillChange[TDSkill] |
The player's most recent overall skill value change in ThunderDome as a number. | 8, -4, 20, -100, 84 |
$ns2SkillChange[TDCom] |
The player's most recent overall commander skill value change in ThunderDome as a number. | 12, -13, 12, -13 |
$ns2SkillChange[TDAlien] |
The player's most recent alien team skill value change in ThunderDome as a number. | 69 |
$ns2SkillChange[TDAlienCom] |
The player's most recent alien commander skill value change in ThunderDome as a number. | 420 |
$ns2SkillChange[TDMarine] |
The player's most recent marine team skill value change in ThunderDome as a number. | 6, 9, 4, 2, 0 |
$ns2SkillChange[TDMarineCom] |
The player's most recent marine commander skill value change in ThunderDome as a number. | 1, 2, -3, 4, 6, -9 |
-
$ns2LastRoundUrl
(NOT implemented)- This one is more of a dream at this point, but may be achievable.
- Provides a link to ns2panel for the last round played
- Will have to track server name/ip address and scrape it from their web site?