… | |
… | |
201 | $cnt++; |
201 | $cnt++; |
202 | } |
202 | } |
203 | } |
203 | } |
204 | |
204 | |
205 | if ($cnt) { |
205 | if ($cnt) { |
206 | $who->reply ($npc, $cnt == 1 ? "Here is your pakage." : "Here are your packages."); |
206 | $who->reply ($npc, $cnt == 1 ? "Here is your package." : "Here are your packages."); |
207 | } else { |
207 | } else { |
208 | $who->reply ($npc, "Sorry, no deliverys for you sir."); |
208 | $who->reply ($npc, "Sorry, no deliveries for you sir."); |
209 | } |
209 | } |
210 | } |
210 | } |
211 | |
211 | |
212 | } elsif ($cmd eq 'send') { |
212 | } elsif ($cmd eq 'send') { |
213 | unless ($arguments =~ /^\S+$/) { |
213 | unless ($arguments =~ /^\S+$/) { |