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

Weird Shadow Machine

  • Professor
  • ****
  • Posts: 133
  • 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: 1253
  • 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

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Script commands index and hints
« Reply #62 on: December 19, 2017, 02:59:43 PM »
Do you have a separate script where flag 1 turns on? For that script to run, you'd need a separate script with
Quote
flag(1,on)
in it for the script to load.
If i put a script where flag 1 turned on i might run over them both a second time and end up doing the same thing again (and i have already tried that) but thanks.
« Last Edit: December 19, 2017, 03:09:19 PM by Xdroid19 »

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Script commands index and hints
« Reply #63 on: December 19, 2017, 03:15:07 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.
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
Thank you both so much but now i have another problem
Code: [Select]
ifcrewmates(4,grav_lines)
and grav_lines was
Code: [Select]
destroy(gravitylines)

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1253
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Script commands index and hints
« Reply #64 on: December 19, 2017, 03:25:20 PM »
ifcrewmates doesnt exist

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Script commands index and hints
« Reply #65 on: December 20, 2017, 07:41:26 AM »
then what's the command in 333333?

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1253
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Script commands index and hints
« Reply #66 on: December 20, 2017, 12:00:17 PM »
they probably put a script box infront of every crewmate, which raises a flag or something

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Script commands index and hints
« Reply #67 on: December 21, 2017, 05:47:02 AM »
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOHHHHH

-Kiwi Alexia ♡

  • Captain
  • *****
  • Posts: 1253
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Script commands index and hints
« Reply #68 on: December 21, 2017, 11:28:16 AM »
same

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Script commands index and hints
« Reply #69 on: December 23, 2017, 08:45:25 AM »
I had to use 16 scripts to do that
 :P