Forums » General

pay pirate alias

Jul 29, 2006 Spellcast link
a simple and fast alias to allow you to pay the last NPC pirate that demanded money from you. copy the following line directly into a chat prompt ingame and hit enter.

/alias paypirate "prompt 'givemoney %lastprivate% ' "

then bind paypirate to a key.

posted here by request of a few players.
Jul 29, 2006 fooz2916 link
Could we also get an demand money alias to go with this? =P
Jul 30, 2006 Spellcast link
sure

a couple of options for ya....

/alias extort "prompt '/msg %target% <I am a fearsome pirate and will blast you to atoms unless you pay me> ' "

will cause a prompt to appear messaging whomever you have targeted the text in <>'s and allowing you to specify an amount at the end.

/alias extort2 "msg %target% <I am a fearsome pirate and will blast you to atoms unless you pay me [25000]c>"

just sends a message to your target demanding 25000 credits, you can change the text and the asmount to fit your needs.
Jul 30, 2006 Spellcast link
UGH!

ok, the paypirate alias doesnt work. for some reason the %lastprivate% doesn't treat the name as a name when its inside the prompt command.
it works if you take it out of the prompt command, but fails when its inside of it. it trys to give the first name of the pirate the last name credits.

I tested the command on a player with a single name when i set it up because all the nearby unbots were dead.... so it worked for that.
Jul 31, 2006 drdoak007 link
spell, is there a way to make that extort2 alias ask you for an amount to enter?

behind the scenes action...

<bound key depressed>, [echoed in chat screen] "declare amount >" <enter numerical value (*shown as $$$$$ in example)>, <ENTER>

end response on target's screen =

"I am a fearsome pirate and will blast you to atoms unless you pay me $$$$$ c"

***this could be useful for the opposite side if it works***
Jul 31, 2006 Spellcast link
not really dr. VO doesnt have a scripting language per say, and there isnt really any way to do that just yet. Once the LUA is made more accessable to the users it probably can be, however most of the alias and binds for VO are just using the old command line functionality.

tho actually what you are wanting is pretty much the first option i gave you. %target% DOES work inside a prompt command. you'll have to remember to add the c after the $$$$ value however if you want it.
Aug 03, 2006 Porkness link
Thanks, spellcast. This will be a lot faster than typing out piebot names and the bizarre figures of money they demand.