Simple track_mob sistem

Posted by Tahadar on Sun 27 Sep 2009 02:55 PM — 5 posts, 24,716 views.

#0
I know it must be something i miss here...

command: track mob
mud echo: You sense a trail n/s/e/v/u/d from here!

I made a trigger that match "You sense a trail * from here!" with the send "%1". But that's not enough. I need to resend the "track mob" again after the triger fires.

I know the multi-line thingie does not recognize the commands send by me. Basically I want something like

match: ^track *\nYou sense a trail * from here\! \n\z

send:
%2
track %1

How can I do that?
#1
Template:post=9616
Please see the forum thread: http://gammon.com.au/forum/?id=9616.

This link has a video showing how to make a targeting alias. You could make that alias then create your track alias
and trigger to use the @target variable.

Template:post=9046
Please see the forum thread: http://gammon.com.au/forum/?id=9046.

This link has an autohunt plugin for Aardwolf. You could modify it to suit you MUD.
#2
Thanks for the links.

It works now, also the ColourNote is pretty cool.
I guess I can work out a sistem based on this variable thingie that can automatically change target via triggers and auto-kill them, even hunt them if they flee.

Boy, is like I discovered a new world :)

*bow
#3
Uhm... I found another problem :(

Let's say I set the variable target on a mob, but there can be many different mobs with the same name.

Example: @target spider
In mud: tiny spider, huge spider, poisonous spider, etc.

They all have the same ident (spider) I can't "look tiny" or "look huge", and I want to track for example only the huge ones. How can I avoid that?
#4
Probably best to ask on your MUD how to reference Mobs.