#(mtusic) If and else clauses.

11 messages · Page 1 of 1 (latest)

timid osprey
#

Hello, how can I make a script stop checking for if clauses.
for example:

If <player> has flag :

else:

My script seems to complete the else clause as well as the if clause. https://paste.denizenscript.com/View/122994

Primarily this occurs on line 28 - if <player.has_flag[quest_two_complete]>:. The script will complete the if sequence and then continue to the else sequence.

little deltaBOT
#

(mtusic) If and else clauses.

little deltaBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

timid osprey
lusty valley
#

I really recommend just reading through that entire guide. Took me an hour or two to read all of it and it makes it much easier to understand how denizen works

clever tapir
#

this is probably the best answer without more context as to why what you expected to happen didn't

gilded flumeBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@timid osprey