ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/ipo.ext
(Generate patch)

Comparing deliantra/server/ext/ipo.ext (file contents):
Revision 1.14 by elmex, Thu Apr 24 11:05:51 2008 UTC vs.
Revision 1.15 by root, Mon Sep 22 01:33:09 2008 UTC

253 253
254 } else { 254 } else {
255 $who->reply ($npc, 255 $who->reply ($npc,
256 sprintf "How can I help you?\n" 256 sprintf "How can I help you?\n"
257 . "Here is a quick list of commands I understand:\n\n" 257 . "Here is a quick list of commands I understand:\n\n"
258 . "- pen (%s platinum)\n" 258 . " - pen (%s platinum)\n"
259 . "- literacy (%s platinum)\n" 259 . " - literacy (%s platinum)\n"
260 . "- mailscroll <friend> (%s platinum)\n" 260 . " - mailscroll <friend> (%s platinum)\n"
261 . "- bag <friend> (%s platinum)\n" 261 . " - bag <friend> (%s platinum)\n"
262 . "- package <friend> (%s platinum)\n" 262 . " - package <friend> (%s platinum)\n"
263 . "- carton <friend> (%s platinum)\n" 263 . " - carton <friend> (%s platinum)\n"
264 . "- send <friend> (send bags/packages/cartons)\n" 264 . " - send <friend> (send bags/packages/cartons)\n"
265 . "- receive (to receive packages for you)\n" 265 . " - receive (to receive packages for you)\n"
266 . ($who->flag (cf::FLAG_WIZ) ? "- mailwarning <player>" : ""), 266 . ($who->flag (cf::FLAG_WIZ) ? " - mailwarning <player>\n" : ""),
267 40, 1000, 1, 1, 5, 10 267 40, 1000, 1, 1, 5, 10
268 ); 268 );
269 } 269 }
270 1 270 1
271}; 271};
295} 295}
296 296
297sub send_mail { 297sub send_mail {
298 my ($type, $toname, $fromname, $message) = @_; 298 my ($type, $toname, $fromname, $message) = @_;
299 my $time = strftime ("%a, %d %b %Y %H:%M:%S CEST", localtime (time)); 299 my $time = strftime ("%a, %d %b %Y %H:%M:%S CEST", localtime (time));
300 my $msg = "From: $fromname\nTo: $toname\nDate: $time\n\n$message\n"; 300 my $msg = "From: $fromname\rTo: $toname\rDate: $time\n\n$message\n";
301 store_mail ($type, $toname, $fromname, $msg); 301 store_mail ($type, $toname, $fromname, $msg);
302} 302}
303 303
3041; 3041;
305

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines