Forums » Community Projects
Enhanced givemoney and new "distribute" command
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
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
how does it handle multiple amounts?
say givemoney persona 1000 personb 2000 personc 3000
say givemoney persona 1000 personb 2000 personc 3000
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
-:sigma.SB
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?
/distribute "Chaakin Tockoa" "PirateA" "PirateB" 600000
and it would give the other two 200,000 credits each keeping a 200,000 for myself? Aye?
erm, after you pop a voy, do you normally /givemoney to yourself? O.o /distribute 400000 piratea pirateb
Point is that if you do it like he said, you don't have to figure out how much to keep.
cool
also, /givemoney "group"
so it devides it among the entire group
useful for NW
also, /givemoney "group"
so it devides it among the entire group
useful for NW
Shank: Yes.
zik: I'll think about /groupdistribute and /sectordistribute commands.
-:sigma.SB
zik: I'll think about /groupdistribute and /sectordistribute commands.
-:sigma.SB