Forums » General
Alias question :)
I was challenged today by a Serco fighter for my cargo, and was messaged to dump my cargo.
What I was wondering is, how would one make an alias to send them a reply?
alias Neutral "msg 'I am a non hostile neutral'"
bind "\" neutral
is not working :(
Anyone have any suggestions?
What I was wondering is, how would one make an alias to send them a reply?
alias Neutral "msg 'I am a non hostile neutral'"
bind "\" neutral
is not working :(
Anyone have any suggestions?
The reason why it's not working is that you need a target to send your msg to. Right now you don't have enough arguments. Would %target% help in this case, anyone?
And...by the way. If you're challenged by a pirate for your cargo, telling them you're neutral and/or non hostile won't make a lick of difference :P.
And...by the way. If you're challenged by a pirate for your cargo, telling them you're neutral and/or non hostile won't make a lick of difference :P.
if you target the person in question and make a msg %target% blahblah etcc it should work, look in the binds and alias thread for more ideas.
you probably meant say_sector instead of msg. The msg command sends a message only to the player specified by the next argument. Which in your case tried to send a message to 'I am a non hostile neutral' and as far as I know there's no one online by that name. Try:
Send a message just to the person you're targeting:
alias neutral "msg %target% 'I am a non hostile neutral'"
Send a message to everyone in your current sector:
alias neutral "say_sector 'I am a non hostile neutral'"
Send a message just to the person you're targeting:
alias neutral "msg %target% 'I am a non hostile neutral'"
Send a message to everyone in your current sector:
alias neutral "say_sector 'I am a non hostile neutral'"
Ksah: For bind a msg to a key look the thread http://www.vendetta-online.com/x/msgboard/1/3229 and my post.
'msg %target% blah' won't work on players in guilds. The %target% variable comes up something like '[tag]name' when the player's name is actually just 'name.'
This is probably a bug, but I figured it's not that major.
This is probably a bug, but I figured it's not that major.
All very helpful answers!
Went with %target% and it seems to get the job done...but really what I was looking for is a way to reply (/msg) with a predefined message using a bound key without having to actually target anything.
I have read and reread the entire sticky on binds and aliases exhaustively, learning a great many things. But alas, no way to do what I previously stated.
Thanks again though, everyone :)
Went with %target% and it seems to get the job done...but really what I was looking for is a way to reply (/msg) with a predefined message using a bound key without having to actually target anything.
I have read and reread the entire sticky on binds and aliases exhaustively, learning a great many things. But alas, no way to do what I previously stated.
Thanks again though, everyone :)
Ksah, i would have taken a sector message ( say or say_sector work....) and as im now part of the CLM you wont be able to reply with %target% ;) not sure if *i am non hostile* would have cut it though..... *WEG*
Open your wgaf.cfg and write this for example : alias ha$ "say what u want"
bind "$" ha$
You bind a key for a msg.
bind "$" ha$
You bind a key for a msg.
/bind j jettison