[Crossfire-wiki] [Crossfire DokuWiki] page added: user:mhoram:scripts:altar_pray
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Mon Feb 19 15:43:19 CST 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/02/19 15:43
User : mhoram
Edit Summary: created
====== Introduction ======
This is an extremely simple client-side perl script that will pray 600 times over an altar. It will only send the commands one at a time, so it won't bog down the server, thanks to the routines in subs.pl. Yes, this is sort of cheating, but if you're going to pray until you get something uncursed by pressing the button hundreds of times anyway, you might as well be getting a snack while it does it.
====== Requirements ======
* Perl
* [[subs.pl]]
====== Code ======
<code perl>
#!/usr/bin/perl
use warnings;
use strict;
require "./subs.pl"; # get some subs to use
$| = 1;
for(1..600){
LOG("$0: Round $_");
for (1..1){
issue("use_skill praying");
}
}
draw(3, "Done praying!");
</code>
====== Notes & Comments ======
====== References =======
* [[:user:mhoram|Mhoram's Page]]
* [[:Client Side Scripting]]
IP-Address : 206.71.197.56
Old Revision: none
New Revision: http://wiki.metalforge.net/doku.php/user:mhoram:scripts:altar_pray
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list