Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Epyo

if in an if

Recommended Posts

Can I put an if script inside an if script? I was just wondering, ya know?

Share this post


Link to post

You should be able to, as long as you have an else case nested in there too.

Share this post


Link to post

if script? you mean like

script 1 (void)
{
   if(activatortid() == 20)
   {
      if(thingcount(0, 19) == 5)
      {
          print(s:"you can do this");
          floor_lowerbyvalue(1, 16, 128);
      }
   }
}
just simple nesting and stuff

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×