- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleEdit of P#9956 - Edit of P#9954 - Edit of P#9953 - Untitled Paste
TypeDenizen Script
Date2014/09/21 20:38:25 UTC-07:00
ByGuest
OtherEdit of paste #9956 - click here to see edit details
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2100
 - foreach <global.flag[store].escape_contents> {
            - if <def[value].unescaped.as_cuboid.is_within[<context.entity.location>]> {
              - if <server.flag[<context.entity.framed_item.full.escaped>]> == null {
                - flag server <context.entity.framed_item.full.escaped>:1.00
                - determine cancelled
                } else if <yaml[prices].read[prices.<context.entity.framed_item.full.escaped>]> == null {
                - foreach <server.list_online_players> {
                  - if <def[value].has_permission[<script.constant[permission_for_whatever]>]> {
                    - narrate "<c.entity.framed_item> has no price! please set a price for this item by holding it in your hand ant typing /price" to:%value%
                    }
                    else if !<server.flag[pricemessage].contains[<c.entity.framed_item>]> {
                    - flag server pricemessage:->:<c.entity.framed_item>
                    }
                  }
                - narrate "this item has no price. please contact the servers administrators to let them know"
                - determine cancelled
                }






RawRaw



Pastes made: 74477