Is Friend
Check if player is Friend
フィールド
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
targetName | String | — | Target player name to check friendship with |
group | Ref<GroupEntry> | — | If left empty, every player has its own group. |
TypeWriter 共通フィールド(comment)
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
comment | String | — | Checks if the player is friends with the target複数行 |
How to use it
targetName is a fixed player name. The fact returns 1 when the player reading it has that name in their friend list and 0 otherwise. The check is case-insensitive and only works for players who are online on this server, since their list must be loaded.