Forums » Community Projects

Enhanced givemoney and new "distribute" command

Jan 15, 2009 Solra Bizna link
http://joshua.tejat.net/private/public/charity.zip

First, the /givemoney command is modified to accept multiple players in one command. Second, it is also modified to accept an amount anywhere in the command, instead of just at the end.
For instance, all of:
/givemoney "Solra Bizna" 1000000
/givemoney 1000000 "Solra Bizna"
/givemoney "Da Gu" 1000000 "Solra Bizna"
are valid. The latter gives a full million to both me and Da Gu. Hence the new /distribute command. It's exactly the same as the enhanced /givemoney, but divides the credits among the targets more or less evenly. The above example, slightly modified:
/distribute "Da Gu" 1000000 "Solra Bizna"
would give both me and Da Gu 500k.
-:sigma.SB
Jan 15, 2009 blacknet link
how does it handle multiple amounts?
say givemoney persona 1000 personb 2000 personc 3000
Jan 15, 2009 Solra Bizna link
In the case you gave, it would be very silly and attempt to give 1000 credits to persona, personb, 2000, personc, and 3000, a couple of whom are not likely to exist.
-:sigma.SB
Jan 17, 2009 ShankTank link
So say I popped a voy and sold the loot for 600,000 but had two other people helping me and planned on splitting the creds evenly. I could do:
/distribute "Chaakin Tockoa" "PirateA" "PirateB" 600000
and it would give the other two 200,000 credits each keeping a 200,000 for myself? Aye?
Jan 17, 2009 Armonia link
erm, after you pop a voy, do you normally /givemoney to yourself? O.o /distribute 400000 piratea pirateb
Jan 18, 2009 maq link
Point is that if you do it like he said, you don't have to figure out how much to keep.
Jan 18, 2009 zamzx zik link
cool

also, /givemoney "group"

so it devides it among the entire group
useful for NW
Jan 20, 2009 Solra Bizna link
Shank: Yes.
zik: I'll think about /groupdistribute and /sectordistribute commands.
-:sigma.SB