How to Script this

Share your scripts and packages with other Mudlet users.
Post Reply
Turnkeyday
Posts: 1
Joined: Thu Dec 12, 2019 8:44 pm

How to Script this

Post by Turnkeyday »

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?

Post Reply