[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]  MUDs
. -> [Folder]  General
. . -> [Subject]  Targeting system for a ROM MUD
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Targeting system for a ROM MUD

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


Posted by BishopOsiris   USA  (38 posts)  [Biography] bio
Date Wed 16 Nov 2016 08:53 PM (UTC)

Amended on Wed 16 Nov 2016 09:47 PM (UTC) by Nick Gammon

Message
I had a targeting system on another client that I really liked and I want to duplicate it here since I'm going to be using MUSHClient exclusively now. This is what the output of the MUD looked like:


{T3 AM|714-HP|342-M|330-MV|wilderness|outdoor|(77.22%)}% whe
People near you: 
1: (PK) Graingt A Rubble-Strewn Path in the Mountains 
2: (PK) Jrhurg Upon a Long, Circular Road 
 Eurantic Upon a Long, Circular Road 
3: (PK) Drahka Upon a Long, Circular Road 

{T3 AM|714-HP|342-M|330-MV|wilderness|outdoor|(77.22%)}% s 
The Headwaters of Voralia's Tears 

[Exits: north south] 

{T3 AM|714-HP|342-M|324-MV|wilderness|outdoor|(77.22%)}% t3
------------------------------ 
@TARGET = Drahka 
lt = look | ft = follow | tt = trip | dt = dirt | mt = murder | ht = hit 
hat = hamstring | at = artery | 
F1 = dirt | F2 = trip | F3 = bash | 
F4 = pugil | F5 = leverage | F6 = misdirect | F7 = crescent 
------------------------------ 


So I could type "where" and see everyone in my PK range. In this example I was 1, Jrhurg was 2, and Drahka was 3. I could type "t3" and Drahka would be set as my target. Then I had aliases set for lt = look target, tt = trip target, so and so forth. If I fought Drahka and killed her I could immediately type "t2" and Jrhurg would be my new target UNLESS I had typed where since the last time and the target numbers had changed. I've just started playing this same MUD again after a 7 year hiatus and I've never used this client before. Can someone walk me through this step-by-step?
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Wed 16 Nov 2016 09:46 PM (UTC)
Message
Try to do a bit yourself first. This FAQ gives you some ideas about capturing multiples lines:

Template:faq=37 Please read the MUSHclient FAQ - point 37.


"People near you: " would be a good starting point for the capture.

For each line you can save the name in a table. Then t2 could get it to set the target to the second person in that table.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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.


1,363 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]