Script is missing end or )

From OHRRPGCE-Wiki
Jump to: navigation, search

Check that all your parenthesis close. Be sure to double-check nested parenthesis like the ones below.

Example[edit]

Incorect[edit]

script,scriptname,begin
#some script here
if(fight formation(10)) then(show text box(50)) else(show text box(51)
end

What happened? No ending parenthesis was added to the else.

Correct[edit]

script,scriptname,begin
#some script here
if(fight formation(10)) then(show text box(50)) else(show text box(51))
end