Import from revbank fork
This commit is contained in:
commit
30c55d21de
6 changed files with 152 additions and 0 deletions
17
bitlair_bigmoney
Normal file
17
bitlair_bigmoney
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!perl
|
||||
|
||||
sub command :Tab(bigmoney) {
|
||||
my ($self, $cart, $command) = @_;
|
||||
|
||||
return NEXT if $command ne "bigmoney";
|
||||
|
||||
my @list = sort {
|
||||
(split " ", $b)[1] <=> (split " ", $a)[1]
|
||||
} grep {
|
||||
not RevBank::Users::is_hidden($_)
|
||||
} slurp("accounts");
|
||||
|
||||
print join "", @list[0..9];
|
||||
|
||||
return ACCEPT;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue