- 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


TitleDiff note for paste #23931
TypeDiff
Date2015/12/18 08:06:57 UTC-08:00
ByGuest
Other
Paste
 Player_Command:
   type: command
   name: test
   debug: true
   usage: /test
+  description: test command
   script:
    - define npcname "<player.name>_clone"
    - create player %npcname% <player.location>
    - execute as_player "npc select %npcname%"
    - execute as_player "npc playerlist"
    - narrate "There are this many npcs with the name <player.name>_clone <server.get_npcs_named[%npcname%]>"
    - adjust <player> "spectate:<server.get_npcs_named[%npcname%].get[1]>"
    - wait 3s
    - adjust <player> "hide_entity:<server.get_npcs_named[%npcname%].get[1]>"
    - narrate "<RED>You sir are now spectating <server.get_npcs_named[%npcname%].get[1]>"
    - wait 10s
    - adjust <player> "spectate:<player>"
    - adjust <player> "show_entity:<server.get_npcs_named[%npcname%].get[1]>"
    - wait 4s
    - remove <server.get_npcs_named[%npcname%].get[1]>
-
 
 



RawRaw



Pastes made: 66664