Script is missing end or )

From OHRRPGCE-Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Example

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.

Correct

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