Converting ZMUD triggers to Mudlet?

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

Converting ZMUD triggers to Mudlet?

Post by derek.1618 »

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
Posts: 4833
Joined: Sat Mar 14, 2009 3:13 pm

Re: Converting ZMUD triggers to Mudlet?

Post by Vadi »

Doesn't seem like the most trivial trigger so I'd start with the basics and work your way up! and videos on would be a good beginning.

Post Reply