Paste #75459: suggestion book

Date: 2020/09/10 02:02:24 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


suggestions_i:
    type: item
    material: writable_book
    enchantments:
    - lure:1
    mechanisms:
        hides: ENCHANTS
    display name: Suggestion
    lore:
    - "<&f>Write your suggestion in here"
suggest_w:
    type: world
    events:
        on player signs book:
        - if <context.book.script> == <script[suggestions_i]>:
            - if <context.book.pages.is_empty||false>:
                - stop
            - ~discord id:green-info message channel:720241560817500162 "<discord_embed.with[title].as[<context.title>].with[description].as[<context.book.book_pages.separated_by[<&nl>]>].with[color].as[lime].with[author_name].as[<player.name> Suggested].with[author_icon_url].as[https://cravatar.eu/helmavatar/<player.name>/190.png]>"