Skip to main content

Hi guys, I have a script that will open different dialoge based on user input - say if the input is 01, then dialoge 01 will open; if the input is 02, then dialoge 02 will open. I have the code below:

If pnum = "24" Or pnum = "36" Then           Begin Dialog PL16,30,310,164,"PL instructions"

...

End If

If pnum = "24" Or pnum = "36" Then Begin Dialog PL 16,30,310,164,"PL instructions"

...

End If

But I got an syntax error referring to the second "Begin Dialoge" and I just cannot figure it out. Could someone help...Thanks!!


#Script
#Rumba

Hi guys, I have a script that will open different dialoge based on user input - say if the input is 01, then dialoge 01 will open; if the input is 02, then dialoge 02 will open. I have the code below:

If pnum = "24" Or pnum = "36" Then           Begin Dialog PL16,30,310,164,"PL instructions"

...

End If

If pnum = "24" Or pnum = "36" Then Begin Dialog PL 16,30,310,164,"PL instructions"

...

End If

But I got an syntax error referring to the second "Begin Dialoge" and I just cannot figure it out. Could someone help...Thanks!!


#Script
#Rumba

Can you please post a code snippet  to review & help ?

regards

AE