How to Script this
Posted: Thu Dec 12, 2019 8:51 pm
Small map
x x
\ /
x
Rooms have mice. Kill mice in each room.
Kill mouse.
<You attack the brown mouse.> (fight)
<Mouse dies.> (attack next mouse)
<You attack mouse.> (fight)
<Mouse dies.> (attack next mouse but there is none)
<You dont see any mice here.>
Go southeast. Repeat til all mice are dead.
Go northeast. Repeat til all mice are dead.
End script
How would this be written in a script that reads the next line (or some equivalent) and proceeds til end of script in Mudlet?
x x
\ /
x
Rooms have mice. Kill mice in each room.
Kill mouse.
<You attack the brown mouse.> (fight)
<Mouse dies.> (attack next mouse)
<You attack mouse.> (fight)
<Mouse dies.> (attack next mouse but there is none)
<You dont see any mice here.>
Go southeast. Repeat til all mice are dead.
Go northeast. Repeat til all mice are dead.
End script
How would this be written in a script that reads the next line (or some equivalent) and proceeds til end of script in Mudlet?