Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on region leave:
- if "%region at player%" is equal to "tre1","tre2","tre4" or "tre5" or "tre6":
- if {TRE.2.%player%} is true:
- send player title "&6&lMISSION" with subtitle "&eDu fandt det store træ" for 5 seconds
- execute console command "eco give %player% 200"
- delete {TRE.2.%player%}
- stop
- command /karldebug:
- trigger:
- delete {TRE.KARL.%player%}
- delete {TRE.2.%player%}
- delete {TRE.%player%}
- on npc right click:
- if npc is named "&6&lKARL":
- if {TRE.%player%} is not set:
- set {TRE.KARL.%player%} to true
- send "&eHva' Så %player%."
- set {TRE.%player%} to true
- play "CLICK" to player at volume 3.2
- wait 2 seconds
- play "CLICK" to player at volume 3.2
- play "CLICK" to player at volume 3.2
- send "&eKan du vise mig hen til det store træ?"
- play "CLICK" to player at volume 3.2
- play "CLICK" to player at volume 3.2
- send "&eHvis du kan klare det, så skriv &aJA &ei chatten."
- send "&eHvis ikke, så skriv &4NEJ"
- set {TRE.ChatStart.%player%} to true
- delete {TRE.KARL.%player%}
- else:
- if {TRE.KARL.%player%} is true:
- stop
- else:
- send "&eHvem er du?"
- stop
- on chat:
- if {TRE.ChatStart.%player%} is true:
- wait 2 tick
- if message is "JA":
- Message "&eMange, tak fordi du vil hjælpe mig."
- play "CLICK" to player at volume 3.2
- wait 1 second
- clear {TRE.ChatStart.%player%}
- set {TRE.%player%} to true
- set {TRE.2.%player%} to true
- send "&eKan du vise mig vej hen til det store træ?"
- if message is "NEJ":
- Message "&eOkay, jeg troede du var hjælpsom."
- play "CLICK" to player at volume 3.2
- clear {TRE.ChatStart.%player%}
- clear {TRE.Igang.%player%}
- clear {TRE.%player%}
- clear {TRE.ChatStart.%player%}
- wait 2 seconds
Advertisement
Add Comment
Please, Sign In to add comment