Forums » Suggestions

Auto-duel plugin

Oct 25, 2011 katofmine link
A plugin that can be bound to a key, used to automatically challenge targeted ship to a duel. Please point me in the right direction if one exists or take the time to create it if you are one of the many skilled plugin writers in the community. Much thanks.

.Atomsk
Oct 25, 2011 abortretryfail link
maybe...
/alias dueltarget duel %target%
/bind foo dueltarget

?
Oct 25, 2011 katofmine link
nice, i'll try that. knew it had to be something quite simple. but i think it would be:
/alias dueltarget duel [challenge] %target%
Ill fool around with it.

much thanks

.Atomsk
Oct 25, 2011 AndySpades link
scratch the square brackets. just
/alias dueltartget duel challenge %target%
.
And it works. ;)
Oct 25, 2011 Kierky link
Due to the nature of the string, this won't work using just an alias.
The problem comes up when you challenge someone with two names..
Oct 27, 2011 katofmine link
Figured it out and no fancy plugin needed! This is how i did it thanks to AndySpades and some fellas on 100:

1) In-game I entered the following into the chatbox: /alias dueltarget "duel challenge %target%"
-this creates the command "dueltarget" (the function of the command i found had to be in quotes to register)

2) Then i bound the "dueltarget" command to the "\" key with: /bind \ dueltarget

Simple as that, and it works for challenging players with spaces in their names as well. I've been using it constantly as you will soon see on the Duel Ladder :) Thanks Andy and the 100 congregation!

.Atomsk
Oct 27, 2011 Kierky link
Uh, parentheses is ()
>.>
Oct 28, 2011 katofmine link
yep...