My Script Doesn't Work?!

Started by Zephyrite, October 07, 2018, 10:53:52 AM

Previous topic - Next topic

Zephyrite

I'm working on my 10x10 mini level, when I ran into a problem...
A script doesn't work!
Here's the script,
maybe some of you guys on this mb could help me?
activate purple:
ifflag(70,active purple)
say(2)
Error
purple already active!


active purple:
flag(70,off)
say(2)
purple
has been activated!

the problem is that when i use the terminal with the activate purple, with flag 70 on, nothing happens, and flag 70 stays on

Balneor

What do you mean exactly by "using terminal with the activate purple".

Putting the line "flag(70,off)" at the end of the script should successfully deactivate it, give it a try.

Zephyrite

#2
did you read the script?
The terminal with the script has the script "activate purple"
i posted what is in the script activate purple.
it does include flag 70 off.
but when i activated it, not only did it not turn flag 70 off, it didn't even say the dialogue!
Oh, and yes, I tested it while flag 70 was on

Dav999

You're trying to jump to a script name with a space in it, ifflag (and others like iftrinkets) doesn't support script names with capital letters or spaces. Try renaming "active purple" to have neither.

Zephyrite

ooohh
thanks dav999!
renaming my scripts now