zMUD trigger help

Scripts and support for your favorite MUD client.
Gavry
Sojourner
Posts: 55
Joined: Thu Sep 13, 2001 5:01 am

zMUD trigger help

Postby Gavry » Sat Oct 19, 2002 4:44 am

[50 Pal] Gavry -Arbiter- Excidium Umbra (Human)

How do I, using the above line as text I'm interested in capture level, class and name with a trigger?

I've tryed

Pattern: [%n %w] %w
Value: level=%1
class=%2
name=%3

But the pattern doesn't fire.

Other does: ~[%n %w~] %w

Thanks for any help

Gavry
Gindipple
Sojourner
Posts: 676
Joined: Fri Jan 26, 2001 6:01 am
Location: O' Fallon, MO. USA
Contact:

Postby Gindipple » Sat Oct 19, 2002 4:53 am

put the variables you want to capture inside ()'s


------------------
Gindipple (Gnome) stands here.
Zen
Sojourner
Posts: 411
Joined: Fri Aug 31, 2001 5:01 am
Location: Michigan

Postby Zen » Sat Oct 19, 2002 5:32 am

Actually....

#var level %1

Zen

------------------
The Lord of the Iron Wastes holds his hammer high in the air, shouting a torment... 'Weak fools!'
Kaza
Sojourner
Posts: 2
Joined: Fri Mar 29, 2002 6:01 am

Postby Kaza » Sat Oct 19, 2002 9:22 am

Using this:

#TRIG {~[(%d) (%w)~] (%w) *} {#VAR level %1;#VAR class %2;#VAR name %3}

You should get level, class and name entered into respective variables.

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 9 guests