Originally Posted by Iyanga
plural? Either neutral or some strings are broken. Using the POI "Tangle Rock" on this returns the third argument.
|
Lua Code:
local fmt = <<1{first/second}>>
msg = zo_strformat(fmt, text)
if text == "test^m"
returns "first"
if text == "test^f"
returns "second"
if text == "test^n"
returns "second"
if text == "test^p"
returns "second"
Lua Code:
local fmt = <<1{first/second/third}>>
msg = zo_strformat(fmt, text)
if text == "test^m"
returns "first"
if text == "test^f"
returns "second"
if text == "test^n"
returns "first"
if text == "test^p"
returns "third"
Lua Code:
local fmt = <<1{first/second/third/fourth}>>
msg = zo_strformat(fmt, text)
if text == "test^m"
returns "first"
if text == "test^f"
returns "second"
if text == "test^n"
returns "third"
if text == "test^p"
returns "fourth"