Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Thu Mar 28, 2024 11:05 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: MushClient Alias Help
PostPosted: Sat Sep 07, 2013 7:43 pm 
Offline
Mortal

Joined: Thu Sep 02, 2004 7:36 am
Posts: 1471
So I thought that I would post this there,

I am looking for a simpler way of creating aliases in Mushclient.

Currently I have to do this:

cl
cast 'cure light'

cl *
cast 'cure light' %1

I think that there is way so that I can use regular expressions so that when I type cl without a target, that it would default to me? Is there a way to do this?


Top
 Profile  
Reply with quote  
 Post subject: Re: MushClient Alias Help
PostPosted: Sat Sep 07, 2013 8:15 pm 
Offline
Mortal

Joined: Thu Aug 31, 2006 1:50 pm
Posts: 3502
Location: Canada
SK Character: Karsh
Alias it in-game.


Top
 Profile  
Reply with quote  
 Post subject: Re: MushClient Alias Help
PostPosted: Sat Sep 07, 2013 8:16 pm 
Offline
Mortal

Joined: Fri Apr 17, 2009 9:50 pm
Posts: 5522
Regular expressions are never simple, my friend.

I'll see what I can dig up, but other people might already be more acquainted with MUSHClient and ready to help.

I'm pretty sure that, in the MUD itself, beneficial spells default to self-cast and harmful spells default to target-cast, though?

I'd caution against aliases in-game, particularly those that are multi-line. There's a very weird and hard-to-describe one pulse delay on all in-game multi-line aliases. Just thought I'd put that out there for anyone reading the thread.


Top
 Profile  
Reply with quote  
 Post subject: Re: MushClient Alias Help
PostPosted: Sat Sep 07, 2013 8:53 pm 
Offline
Mortal

Joined: Thu Apr 14, 2011 10:26 am
Posts: 1252
SK Character: Rolf
I set up a targeting alias to set a variable. That works the best for me. It works kinda like this:

<target *> this command will set my target variable to the argument after the word, "target." So, for your example, you could choose, "self," or the name of your character. You can also choose your pet, or some ally you wish to heal.

Then you can adjust your alias for cure light (or whatever spell you want) to <cast 'cure light' @target>. Be sure to check the box, "Expand Variables." Now your cure light alias will always be set to cast at whatever you pre-set your target as.


Top
 Profile  
Reply with quote  
 Post subject: Re: MushClient Alias Help
PostPosted: Sat Sep 07, 2013 9:03 pm 
Offline
Mortal

Joined: Fri Apr 17, 2009 9:50 pm
Posts: 5522
Isn't that technically illegal now?


Top
 Profile  
Reply with quote  
 Post subject: Re: MushClient Alias Help
PostPosted: Sat Sep 07, 2013 9:18 pm 
Offline
Mortal

Joined: Fri Jul 23, 2004 7:50 am
Posts: 1097
Location: At home. Or work, maybe. Or working from home.
No, because the ginger still has to type 'target grep' in order to change his target, and then his alias for cure light to heal you when the time comes. There aren't even any triggers involved here, so what exactly would you think could be illegal about his setup?


Top
 Profile  
Reply with quote  
 Post subject: Re: MushClient Alias Help
PostPosted: Sat Sep 07, 2013 9:31 pm 
Offline
Mortal

Joined: Wed Apr 24, 2002 11:51 am
Posts: 1500
only posting in gd from now - thx and have a nice day


Last edited by FinneyOwnzU on Sat Jan 31, 2015 11:00 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: MushClient Alias Help
PostPosted: Sun Sep 08, 2013 7:27 am 
Offline
Mortal

Joined: Thu Apr 14, 2011 10:26 am
Posts: 1252
SK Character: Rolf
I have no doubt that your scripting knowledge and skill is superior to my own, Finney. However, I created my own and it works just fine for me so I'm going to stick with that. I appreciate that you are putting those tools out there because they enhance the game experience, in my opinion and can help to bridge the gap between skilled players like yourself and newbs such as me :)


Top
 Profile  
Reply with quote  
 Post subject: Re: MushClient Alias Help
PostPosted: Sun Sep 08, 2013 1:26 pm 
Offline
Mortal

Joined: Thu Sep 02, 2004 7:36 am
Posts: 1471
FinneyOwnzU wrote:
Carsetius wrote:
So I thought that I would post this there,

I am looking for a simpler way of creating aliases in Mushclient.

Currently I have to do this:

cl
cast 'cure light'

cl *
cast 'cure light' %1

I think that there is way so that I can use regular expressions so that when I type cl without a target, that it would default to me? Is there a way to do this?



Why would you need to do that? The default target is your character, if the spell is beneficial and you don't use an argument.



I am a noob. I think that I figure it out. In all of my alias I always put a hardcoded space between the alias and the wildcard. I figured out now why when I only set up alias with the target it would not cast it on myself. It wouldnt even register as an alias. Now I found out that I am just a noob and didnt put the wildcard character with no space. Now I need to go through and clean up all my aliases.

Thanks for your help, Finney


Top
 Profile  
Reply with quote  
 Post subject: Re: MushClient Alias Help
PostPosted: Sun Sep 08, 2013 7:44 pm 
Offline
Mortal

Joined: Thu Jun 22, 2006 8:43 am
Posts: 2323
SK Character: Airkli
Just going to post here instead of making a new thread. How do you remove the echo off of Mushclient?

for exampe.
Quote:
prompt
tell Finney whats up
You tell Finney 'What's Up'
prompt


Rid me of line 2.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group