[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]  General
. . -> [Subject]  Newbie trouble trying to find out how to set targeting Alias'
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Newbie trouble trying to find out how to set targeting Alias'

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


Posted by Ready   (15 posts)  [Biography] bio
Date Sat 05 Jun 2004 07:33 AM (UTC)
Message
I've just started using Mush Client and i'm a bit unsure how to set targeting. It may not be possible but it my newbie experiance I've often been able to get a couple of Alias' and variables to set up so i can target something and then say punch the target. However I'm having trouble working out how to do this. Could someone please help?
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #1 on Sat 05 Jun 2004 08:03 AM (UTC)

Amended on Sat 05 Jun 2004 08:04 AM (UTC) by Flannel

Message
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=2872

Basically, you set the variable with an alias (send to: variable)

then in your punch alias, you send "punch @variable" and check "expand variables"

of course, you'd rename variable to whatever youd like, target or whatnot.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Ready   (15 posts)  [Biography] bio
Date Reply #2 on Sat 05 Jun 2004 01:47 PM (UTC)
Message
The variable and punch target work, however I can't get the target to work, I have to actually type the thing i am targetting in the variable as the alias to do that for me isnt working. What shuld i do?
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #3 on Sat 05 Jun 2004 03:28 PM (UTC)
Message
Did you write the variable name to send to in the alias?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #4 on Sat 05 Jun 2004 08:29 PM (UTC)

Amended on Sat 05 Jun 2004 08:32 PM (UTC) by Flannel

Message
Quote:
<aliases> <alias match="settarget *" enabled="y" echo_alias="y" variable="target" send_to="9" ignore_case="y" sequence="100" > <send>%1</send> </alias> </aliases>


Try that, itll show you basically what you need. Of course, you could make it a regexp, and change the variable name, and the alias itself, but this one works.

Oh yeah, to try that, Copy the whole thing, (inside of the lines) and go to the alias page (the one with all your aliases displayed, not an individual alias edit window), and push the PASTE button. Then the alias will be pasted to your world.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[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,754 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]