|
Finalstrike Newbie
Joined: 03 Jul 2004 Posts: 4 Location: USA
|
Posted: Sat Jul 03, 2004 10:10 am
Kill @target |
I was wondering what I need to enter into ZMud to make it so that when I use Kill @target, it attacks the last thing I used kill against when it sees the prompt I enter.
For example:
I see five wolves.
I type 'kill wolf'
it attacks and kills and it says "You have killed a wolf!"
so I put "You have killed" for my trigger
and 'kill @target' as the command
I want it so that it will say type kill wolf... so i whipe out all five without having to do anything |
|
|
|
Vodoc Apprentice
Joined: 11 Apr 2003 Posts: 119 Location: Sweden
|
Posted: Sat Jul 03, 2004 10:20 am |
#alias {kill} {#var target {%-1};~kill %-1}
and then in the "You have killed" trigger simply issue the following command: "~kill @target"
This is completly unstested though so a small reservation for typos but it shouldn't be any problems. |
|
|
|
Finalstrike Newbie
Joined: 03 Jul 2004 Posts: 4 Location: USA
|
Posted: Sat Jul 03, 2004 11:57 am |
could you maybe test it for me, that one didnt work from what i know what to do
|
|
|
|
doomfyre Apprentice
Joined: 03 Jan 2002 Posts: 152 Location: USA
|
Posted: Sat Jul 03, 2004 12:13 pm |
I would change the alias to:
#alias {kill} {#var target %1; ~kill @target}
That is meant to be copy/pasted into the command line.
I get the idea that you use the editor to make your aliases, so do this for the alias:
Name: kill
Value: #var target %1; ~kill %1
And this for the trigger:
Pattern: You have killed
Value: kill @target
Of course, now you're going to get alot of "They aren't here" type messages if there is only one of the mobs in the room, but apparently you are willing to deal with that. |
|
|
|
Finalstrike Newbie
Joined: 03 Jul 2004 Posts: 4 Location: USA
|
Posted: Sun Jul 04, 2004 2:27 am |
Now when i type Kill mobname it puts:
'~kill mobname'
and nothing happens
and when i used the one that i entered to copy paste it returned the trigger as:
'~kill @target'
not kill mobname
I want it to use @target as the last mob that I attacked using the Kill command
Make sence?
But thanks for trying :D |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Jul 05, 2004 6:48 pm |
Obviously, you have either disabled or changed your 'quote' character. Change the ~ to whatever you are using.
|
|
|
|
Finalstrike Newbie
Joined: 03 Jul 2004 Posts: 4 Location: USA
|
Posted: Thu Jul 08, 2004 12:44 am |
How do I do that?
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jul 08, 2004 4:26 am |
Wherever there is a ~ in the script, use the mouse to put the cursor right in front of it. Press the Delete key. Then press the key for whatever character you assigned as the Quote Char. If you don't remember what it is, it's listed on the Special Characters page of Prefs.
|
|
|
|
|
|