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.

[edit] Example

[edit] Incorect

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.

[edit] Correct

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