is_bad_guy

NAML documentation   Watch a video
   Usages of this macro
... in can_delete.naml
8
9
10
11
12
13
<macro name="is_bad_guy" requires="user">
    <n.either
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
>
        <condition1.is_banned
Binary
Namespace: UserNamespace
/>
        <condition2.is_in_group
Binary
Namespace: UserNamespace
Parameters: group
 group="Spam"/>
    </n.either>
</macro>