if (game.pov.parent = Animal Den) {
if (not GetBoolean(monster, "distracted")) {
firsttime {
msg ("The monster roars and moves closer to you. Quick! Run away or throw something to distract it!")
}
otherwise {
msg ("The monster roars again and grabs you with a long, furry tentacle. You struggle and kick, but the monster has a tight hold on you. You scream as you are dangled over his gaping maw. You continue to scream until the sharp fangs from his mouths tear you apart as each head fights to get its fair share of the tasty morsel that is you.<br/><br/>Now you will never wake up. <br/><br/>Game over.")
finish
}
}
}if (game.pov.parent = Animal Den) {
if (not GetBoolean(monster, "distracted")) {
msg ("The monster roars and moves closer to you. Quick! Run away or throw something to distract it!")
SetTimeout (15) {
msg ("The monster roars again and grabs you with a long, furry tentacle. You struggle and kick, but the monster has a tight hold on you. You scream as you are dangled over his gaping maw. You continue to scream until the sharp fangs from his mouths tear you apart as each head fights to get its fair share of the tasty morsel that is you.<br/><br/>Now you will never wake up. <br/><br/>Game over.")
finish
}
}
}if (game.pov.parent = Animal Den and not GetBoolean(monster, "distracted")) {
game.pov.count = game.pov.count + 1
if (game.pov.count = 1) {
msg ("The monster roars and moves closer to you. Quick! Run away or throw something to distract it!")
}
else if (game.pov.count = 15) {
msg ("long message")
finish
}
}
else {
game.pov.count = 0
}Error running script: Error compiling expression": SyntaxError: Unexpected end of fileLine: 1, Column: 1
Error running script: Error compiling expression 'game.pov.count + 1': ArithmeticElement: Operation 'Add' is not defined for types 'Object' and 'Int32'
SetTimeout (10) {
if (game.pov.parent = Animal Den) {
if (not GetBoolean(monster, "distracted")) {
msg ("<br/>The monster roars and moves closer to you. Quick! Run away or throw something to distract it! ")
}
}
}
SetTimeout (20) {
if (game.pov.parent = Animal Den) {
if (not GetBoolean(monster, "distracted")) {
msg ("long message")
finish
}
}
}SetTimeout (10) {
if (game.pov.parent = Animal Den) {
if (not GetBoolean(monster, "distracted")) {
msg ("<br/>The monster roars and moves closer to you. Quick! Run away or throw something to distract it! ")
}
SetObjectFlagOn (player, "warned")
}
SetTimeout (20) {
if (game.pov.parent = Animal Den) {
if (GetBoolean(player, "warned")) {
if (not GetBoolean(monster, "distracted")) {
msg ("long message")
finish
}
}
}
}
}