Paste #9081: Untitled Paste

Date: 2014/09/01 04:13:48 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


GameCenter:
  Type: Assignment
   Actions:
    On Assignment:
     - trigger name:proximity toggle:true radius:20
    On Enter Proximity:
     - run script:GameCenterAction

GameCenterAction:
  Type: Task
  Script:
    - foreach <player.world.players> {
      - run script:GiveClassItems as:%value% delay:60s
      }

GiveClassItems:
  Type: Task
  Script:
    - if <player.flag[klasa]> == 1 {
      - give 
      }

      else if yer.flag[klasa]> == 2 {
      - give
      }

      else if yer.flag[klasa]> == 3 {
      - give
      }

      else if yer.flag[klasa]> == 4 {
      - give
      }

      else if yer.flag[klasa]> == 5 {
      - give
      }