Skip to content

Conditional placeholders #7

Description

@jschenke488

An option for conditional placeholders. For example, with the pronouns mod you could have the placeholder displayed like this:

if %playerpronouns:pronouns% != "Unknown" then
  display " (%playerpronouns:pronouns%)"
else
  display ""
end

The way I suggest implementing this is in a config file, a server owner could specify these conditions and give the conditions an ID. This ID could then be used in a placeholder.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions