Paste #30633: Untitled Paste

Date: 2016/02/22 08:05:58 UTC-08: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


XPLvLConvert:
    type: command
    name: XPConvert
    description: Turn all your EXP Levels into XP Bottles!
    usage: /convertxp
    script: 
    - if <player.has_flag[xpconfirm] {
      - define playerxp <player.xp.level>
      - experience take <def[playerxp]>

    }
    - narrate "You are about to convert ( WORK IN PROGRESS )"
    - narrate "Click again to confirm"
    - flag player xpconfirm duration:10s
    - queue clear
#wip <def[currentxp]div.[11]>