… | |
… | |
105 | my @units = sort keys %unit; |
105 | my @units = sort keys %unit; |
106 | my $units = join ", ", @units; |
106 | my $units = join ", ", @units; |
107 | my $fees = - ($service_charge / 100) + 1; |
107 | my $fees = - ($service_charge / 100) + 1; |
108 | |
108 | |
109 | if ($cmd eq "balance") { |
109 | if ($cmd eq "balance") { |
110 | $who->message ($ob->name." says: ".balance ($who), cf::NDI_WHITE); |
110 | $who->message ("$name says: ".balance ($who), cf::NDI_WHITE); |
111 | |
111 | |
112 | } elsif ($cmd eq "deposit" and $currency) { |
112 | } elsif ($cmd eq "deposit" and $currency) { |
113 | $who->message ("$name says: " . (transaction $who, "deposit", $amount, $currency), cf::NDI_WHITE); |
113 | $who->message ("$name says: " . (transaction $who, "deposit", $amount, $currency), cf::NDI_WHITE); |
114 | $who->message ("$name says: " . (balance $who), cf::NDI_WHITE); |
114 | $who->message ("$name says: " . (balance $who), cf::NDI_WHITE); |
115 | |
115 | |