[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Tips and tricks
. . -> [Subject]  Simple track_mob sistem
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Simple track_mob sistem

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Tahadar   (3 posts)  [Biography] bio
Date Sun 27 Sep 2009 02:55 PM (UTC)
Message
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?
[Go to top] top

Posted by Blainer   (191 posts)  [Biography] bio
Date Reply #1 on Mon 28 Sep 2009 12:27 AM (UTC)
Message
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.
[Go to top] top

Posted by Tahadar   (3 posts)  [Biography] bio
Date Reply #2 on Mon 28 Sep 2009 02:41 PM (UTC)
Message
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
[Go to top] top

Posted by Tahadar   (3 posts)  [Biography] bio
Date Reply #3 on Mon 28 Sep 2009 03:59 PM (UTC)
Message
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?
[Go to top] top

Posted by Blainer   (191 posts)  [Biography] bio
Date Reply #4 on Mon 28 Sep 2009 10:44 PM (UTC)
Message
Probably best to ask on your MUD how to reference Mobs.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


4,489 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]