Converting ZMUD triggers to Mudlet?

Post Reply
derek.1618
Posts: 1
Joined: Wed May 08, 2019 9:39 pm

Converting ZMUD triggers to Mudlet?

Post by derek.1618 » Wed May 08, 2019 9:42 pm

I have this targeting list table set up in ZMUD, and I don't have much of an idea on where to start converting.

#TRIGGER (@combat=0) {#if (%numitems( @elitelist)>0)&(@combat=0) {#var combat 1;#var target %pop( Elitelist);k @target;finisher=%1};#if (%numitems( @elitelist=0))&(%numitems( @targetlist)>0)&(@combat=0) {#var combat 1;#var target %pop( TargetList);#if @hpvar<200 {t};k @target;finisher=%1}}
#TRIGGER "idead" {is dead!} {#if (%numitems( @targetlist)=0) {#var target 0};#var combat 0;#If {(%numitems( @targetlist)=0) & (%numitems( @elitelist)=0) & @combat=0} {#step}}
#TRIGGER {There is nobody here called (%*) which you can hit.} {#var combat 0;#var target 0}

This set of ZMUD trigs is supposed to allow me to create a list of enemies upon entering a room, and systematically whacking them until the room is clear, all while echoing the number of enemies remaining in the room. Can anyone help me get started? I appreciate the time. Thank you.

User avatar
Vadi
Posts: 4662
Joined: Sat Mar 14, 2009 3:13 pm

Re: Converting ZMUD triggers to Mudlet?

Post by Vadi » Thu May 23, 2019 3:48 am

Doesn't seem like the most trivial trigger so I'd start with the basics and work your way up! https://wiki.mudlet.org/w/Manual:Introduction and videos on http://mudlet.org/media/ would be a good beginning.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests