1
AGI Syntax Help / Re: Understanding how goto and else work
« on: May 04, 2022, 06:17:13 PM »
Looking through the leaked lsl source I don't notice any GoTos, but there are if/else statements
From RM0.CG:
It would be nice to have scripting for the modern AGI IDEs/compilers use the same scripting as the original Sierra used, like Phil did with SCI.
From RM0.CG:
Code: [Select]
if (Controller( cAbout))
{
if (gameHours)
{
Print( 18);
}
else
{
Print( 19);
}
}
It would be nice to have scripting for the modern AGI IDEs/compilers use the same scripting as the original Sierra used, like Phil did with SCI.