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 » 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?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest