Download Game! Currently 77 players and visitors. Last logged in:AleksiChaonengliDelgareMeland

BatMUD Forums > Ideas-wanted > Re: more command parser tricks

 
 
#1
07 Jul 2008 20:35
 
 
What I _really_ want for Christmas is one more tiny change to the parser... I
want to be able to set an alias and use it in the same command, such as:

command h alias HEALTARG $*;cast 'cure light wounds' HEALTARG

command m alias MINETYPE $*;use 'mining' MINETYPE


This would be great, because on the first use you could set your target, and
then later on you can repeat the command with no argument, and it would
default to the previous target automatically.

Right now, the alias gets set properly, but the heal will target the value of
the alias at the time of the command (before the alias was set). So you end up
healing the old target, even when you specify a new one.

Did any of that make sense?

Thanks, -M

 
Rating:
-4
Votes:
6
 
 
Marvin
1y, 166d, 0h, 18m, 40s old
Level:
73
 
 
#2
08 Jul 2008 10:06
 
 
Marvin wrote:
What I _really_ want for Christmas is one more tiny change to the parser... I
want to be able to set an alias and use it in the same command, such as:

command h alias HEALTARG $*;cast 'cure light wounds' HEALTARG

command m alias MINETYPE $*;use 'mining' MINETYPE


This would be great, because on the first use you could set your target, and
then later on you can repeat the command with no argument, and it would
default to the previous target automatically.

Right now, the alias gets set properly, but the heal will target the value of
the alias at the time of the command (before the alias was set). So you end up
healing the old target, even when you specify a new one.

Did any of that make sense?

Thanks, -M
command 1 cast cure critical wounds at desert,
command 2 cast cure critical wounds at bleezuz,
command 3 cast major heal at rauskis

Rauskis needs bigger heals..
-wouldn't this work :| ?

 
Rating:
-3
Votes:
7
 
 
Balthas
1y, 89d, 22h, 10m, 27s old
Level:
100
 
 
#3
08 Jul 2008 10:27
 
 
Balthas wrote:
Marvin wrote:
What I _really_ want for Christmas is one more tiny change to the parser... I
want to be able to set an alias and use it in the same command, such as:

command h alias HEALTARG $*;cast 'cure light wounds' HEALTARG

command m alias MINETYPE $*;use 'mining' MINETYPE


This would be great, because on the first use you could set your target, and
then later on you can repeat the command with no argument, and it would
default to the previous target automatically.

Right now, the alias gets set properly, but the heal will target the value of
the alias at the time of the command (before the alias was set). So you end up
healing the old target, even when you specify a new one.

Did any of that make sense?

Thanks, -M
command 1 cast cure critical wounds at desert,
command 2 cast cure critical wounds at bleezuz,
command 3 cast major heal at rauskis

Rauskis needs bigger heals..
-wouldn't this work :| ?
That forces you to redo your commands every time a new member joins your
party. The alias would be good if you only had a single target you needed to
heal over and over again, like a 3-man party, or a soloer with only clw to
spare.

Personally, when I was a tarmie, I used to do "alias target1 <tank1>" and do
that for each partymember, and then I had fixed commands to target those
aliases. It worked fine, though you still had to do the aliases when parties
started. Though that doesn't help when you're idleressing and you need to heal
the target, with lower tier heals to annoy him a bit, perhaps.

And that really doesn't help when out mining, and you mine the same thing a
dozen of times. You basically need two commands to do it at the moment, which
is a bit bad.


 
 
 
Nerya
C o d e s l a v e
27y, 38d, 7h, 27m, 39s old
Level:
21 [Wizard]
 
 
#4
08 Jul 2008 17:29
 
 
Nerya wrote:
Balthas wrote:
command 1 cast cure critical wounds at desert,
command 2 cast cure critical wounds at bleezuz,
command 3 cast major heal at rauskis

Rauskis needs bigger heals..
-wouldn't this work :| ?
That forces you to redo your commands every time a new member joins your
party. The alias would be good if you only had a single target you needed to
heal over and over again, like a 3-man party, or a soloer with only clw to
spare.

Personally, when I was a tarmie, I used to do "alias target1 <tank1>" and do
that for each partymember, and then I had fixed commands to target those
aliases. It worked fine, though you still had to do the aliases when parties
started. Though that doesn't help when you're idleressing and you need to heal
the target, with lower tier heals to annoy him a bit, perhaps.

And that really doesn't help when out mining, and you mine the same thing a
dozen of times. You basically need two commands to do it at the moment, which
is a bit bad.
For me, mining would be the biggest use, since you switch targets fairly often
during a session, but want to stay on a particular target for a fair number of
skills.

Another example is the spell racial protection. You possibly need to pick a
race several times in a party, but you want to stay with that race for a fair
number of spell casts.

 
Rating:
2
Votes:
4
 
 
Marvin
1y, 166d, 17h, 6m, 2s old
Level:
73