Page 1 of 1

Converting ZMUD triggers to Mudlet?

Posted: Wed May 08, 2019 9:42 pm
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.

Re: Converting ZMUD triggers to Mudlet?

Posted: Thu May 23, 2019 3:48 am
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.