Paste #16856: Untitled Paste

Date: 2015/06/23 22:46: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


on player kills zombie:
            - if <player.has_flag[Quest]> && <player.flag[Quest]> == zombies {
                - define killcount <player.flag[QuestKillCount]||0>
                - if %killcount% < 10 {
                    - define %killcount% <def[killcount}.add_int[1]>
                    - flag <player> QuestKillCount:<def[killcount]>
                    - if %killcount% < 10 {
                        - narrate format:QWChat "You have killed <&9>%killcount%<&r>/<&9>10<&r> zombies!"
                    }
                    else {
                        - narrate format:QWChat "You have killed all 10 zombies. Return for the reward."
                }
            }