Author Topic: Script commands index and hints  (Read 19077 times)

Weird Shadow Machine

  • Professor
  • ****
  • Posts: 124
  • Creator of the Square-Bracketed Saga
    • View Profile
Re: Script commands index and tips
« Reply #60 on: June 17, 2017, 09:30:43 PM »
I tried using a command where :viridian: said something one time. I used this command.
Quote
ifflag(1,speechb)
end()

and "speechb" was
Quote
reply(1)
Yet another dimension to be explored.
sad
reply(1)
*sigh*
reply(1)
And more spikes!
flag(1,off)


When I run this script  :viridian: does nothing.
How do I fix this?

You're better off doing it the other way round:

Code: [Select]
ifflag(1,donothing)
iftrinkets(0,speechb)

and in script "speechb":
Code: [Select]
flag(1,on).
Script "donothing" should of course be empty.

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1198
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Script commands index and hints
« Reply #61 on: June 18, 2017, 02:31:52 PM »
I usually do

ifflag(1,blank)
flag(1,on)
iftrinkets(0,speechb)

also, in this case blank doesnt exist, or in yours, donothing doesnt have to exist