So... we see you haven't signed up here on our website.  

Do you really want to sit here and be "Unregistered" all your life?  No, of course you don't!  So, click this here link and you'll take that all important first step into enlightenment! (or something, whatever...)

[DOC] Event Variables

Discussion in 'General' started by Trekkan, Dec 12, 2016.

  1. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,084
    Each event has a set of variables associated with them. Generally speaking, each event would have a set of player variables, etc. An event like the AirDrop, of course wouldn't. Below is a list of all of the current variables available to you. Eventually this list will be cleaned up and displayed per event, etc. But for now, this is what ya get. =)

    Common
    {servername}
    {ratversion}
    {datetime}
    {date}
    {time}
    {airdropcoords}
    {airdrop_coords}
    {player_online_count}

    {0} - All arguments passed in on a command
    {n} - Argument number of the passed in arguments to the command, space delimited

    Player Data
    {player_id}
    {player_name} (Use {{player_name}} to wrap the player name in double quotes)
    {player_country}
    {player_pos}
    {player_rot}
    {player_remote}
    {player_health}
    {player_deaths}
    {player_zombies}
    {player_playerkills}
    {player_score}
    {player_level}
    {player_steamid}
    {player_ip}
    {player_ping}
    {player_status}
    {player_lastseen}
    {player_chat}

    Kick Event
    {kicker_name}
    {kicker_reason}

    Ban Event
    {ban_by_name}
    {ban_name}
    {ban_duration}
    {ban_timespan}
    {ban_reason}

    Seen Event
    {seen_name}
    {seen_time}

    Teleport Event

    {tele_dest_name}
    {tele_dest_loc}
    {tele_dest_max}
    {tele_dest_time}

    Game Time

    {gametime_full}
    {gametime_day}
    {gametime_hour}
    {gametime_minute}

    Other

    {airdrop_coords}
    {bloodmoon_days}
    {random_number}
     
    Last edited: Sep 9, 2017
    • Like Like x 1

Share This Page