I need some help again.
Hamserspeak.exe is not happy with this script anymore, after I added an other script behind it one.
I tried to find the mistakes, changes a few ( and )... well, now I am as confused again.
The mesaage was "expced top-level-declaration, but found "else" as message.
Code:
# is triggered by textbox 23
# checks if player shall buy dye and has not beein in trouble yet.
if (checktag (tag:buy dye) && checktag(tag:was in trouble)) then
(
show textbox (113) # should continue with 131
set tag (tag: buy dye, off)
set tag (41,on)
wait for textbox
show textbox (131) # should continue with the script
wait for textbox
)
else
if (checktag (tag:run)) then
(
show textbox (187)
)
)
else
if (checktag (tag:confess)) then
(
(show textbox (242)
)
)
end
# is triggered by textbox 23
# checks if player shall buy dye and has not beein in trouble yet.
if (checktag (tag:buy dye) && checktag(tag:was in trouble)) then
(
show textbox (113) # should continue with 131
set tag (tag: buy dye, off)
set tag (41,on)
wait for textbox
show textbox (131) # should continue with the script
wait for textbox
)
else
if (checktag (tag:run)) then
(
show textbox (187)
)
)
else
if (checktag (tag:confess)) then
(
(show textbox (242)
)
)
end
By the way, is there an Editor for writing Plotscripts?
Like Notepad++ or such?
I'd like to see several Errors/Misstakes as once. These Compiler(?)-Messages from Hamsterspeak are rather confusing me.




, still it's fast to use than the OHR's compiler.