Hello!
I've been trying to work on a mision kind of thing, so when they talk to an NPC they complete a match so by using `/misions` they should be one marked as completed, but if they do two missions they show that they have completed two missions... so, the thing is when adding a third mission, wich will spam me the other two messages and it won't work properly, here's what I have:
The main idea is that they will only get 1 completed mission when done here's how they get the {misionmurray.%player%}:
I just want it to be displayed disgarding the order of the missions, thanks in advance!
I've been trying to work on a mision kind of thing, so when they talk to an NPC they complete a match so by using `/misions` they should be one marked as completed, but if they do two missions they show that they have completed two missions... so, the thing is when adding a third mission, wich will spam me the other two messages and it won't work properly, here's what I have:
The main idea is that they will only get 1 completed mission when done here's how they get the {misionmurray.%player%}:
Code:
on npc right click:
if npc is named "&6&l[&e&l!&6&l] &2Nestor":
if {nestor.%player%} is false:
set {misionnestor.%player%} to true
Code:
command /missions:
trigger:
if {misionmurray.%player%} and {misionbarbara.%player%} and {misioncalvin.%player%} and {misionnestor.%player%} and {misionjacob.%player%} are false:
message ""
message "&6You got 5 more missions to complete &7(0/5)"
if {misionmurray.%player%} is true:
message ""
message "&6You got 4 more missions to complete &7(1/5)"
if {misionmurray.%player%} and {misionbarbara.%player%} are true:
message ""
message "&6You got 3 more missions to complete &7(2/5)"
if {misionmurray.%player%} and {misioncalvin.%player%} are true:
message ""
message "&6You got 3 more missions to complete &7(2/5)"
I just want it to be displayed disgarding the order of the missions, thanks in advance!