[Solved]Stop Running Script 1.4.2

Description: Internal scripting system of SMBX-38A Engine based on the simple VB-like language
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

Maeru
Topic author, Nice citizen
Nice citizen
Maeru
Topic author, Nice citizen
Nice citizen
Reputation: 0
Posts: 11
Joined: 7 Aug 2016

Post #1by Maeru » 7 Aug 2016, 17:13

Hello, I'm new here and I have a little problem, I wan't stop a running script and I do not know how to stop it.
Script : http://wohlsoft.ru/forum/viewtopic.php?f=58&t=1041&p=7415#p7415
I hope you could help me
Thanks
Sorry for my bad English
Sorry for my bad english, I'm french.

Super Mario Player M
Duke
Duke
Avatar
Super Mario Player M
Duke
Duke
Age: 21
Reputation: 29
Posts: 141
Joined: 23 Jun 2016
Location: Planet Earth
Youtube channel URL Tencent QQ

Post #2by Super Mario Player » 7 Aug 2016, 19:00

You can use "if" statements to run the script only if a certain condition is met, or use "do" statements to loop your script until a condition is met.
Finally, "for" statements can let you run commands a certain number of times.
So you can create a variable called "stop" and run the script when it is equal to zero, and not run it when it is equal to 1 (for "if" and "do" statements)
My current project:
Spoiler
The Tower of Challenges

Languages (for PMs):

Image

YouTube channel:
Image
Image

Maeru
Topic author, Nice citizen
Nice citizen
Maeru
Topic author, Nice citizen
Nice citizen
Reputation: 0
Posts: 11
Joined: 7 Aug 2016

Post #3by Maeru » 7 Aug 2016, 20:05

Thank you :)
Sorry for my bad english, I'm french.


Return to “TeaScript”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest