User Tools

Site Tools


user:mhoram:scripts:altar_pray

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

Code

#!/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!");

Notes & Comments

References

user/mhoram/scripts/altar_pray.txt · Last modified: 2008/09/02 07:42 (external edit)