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

Comparing deliantra/server/ext/dm-support.ext (file contents):
Revision 1.6 by root, Thu May 24 03:33:29 2007 UTC vs.
Revision 1.8 by root, Tue Aug 28 19:30:09 2007 UTC

22You can freely use \$a .. \$z and \@l and \%l 22You can freely use \$a .. \$z and \@l and \%l
23 23
24Useful commands (note the '&'): 24Useful commands (note the '&'):
25 25
26reload_perl & 26reload_perl &
27reload_config &
27reload_regions & 28reload_regions &
28reload_facedata & 29reload_facedata &
29reload_treasures & 30reload_treasures &
30reload_archetypes & 31reload_archetypes &
31ext::help::reload & 32ext::help::reload &
60 print "result:\n", cf::dumpval @res > 1 ? \@res : $res[0] if @res; 61 print "result:\n", cf::dumpval @res > 1 ? \@res : $res[0] if @res;
61 print "\n> "; 62 print "\n> ";
62 }; 63 };
63 64
64 if ($cmd =~ s/\s*&$//) { 65 if ($cmd =~ s/\s*&$//) {
65 Coro::async_pool { $sub->() }; 66 Coro::async { $sub->() };
66 } else { 67 } else {
67 $sub->(); 68 $sub->();
68 } 69 }
69 } 70 }
70 71

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines