Paste #6440: Untitled Paste

Date: 2014/07/06 08:02:27 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10


Click Trigger:
        Script:
        - CHAT "Hello <player.name> , I've noticed you don't have a pet???"
        - WAIT 1
        - CHAT " Do /NameC to name you're companion"
        - execute as_op "npc create <player.name>_pet"
        - FLAG npcid:<player.selected_npc.after[n@]>
        - FLAG friendmade
        - FLAG friendname:<player.name>_pet
        - narrate "<player.flag[npcid]>"