SRL Archive - Test corner

Fast Prayer Switcher


ReFLeX

2006-05-22 19:17:48

[PHP]///////////////////////////////////
// Fast Prayer Switcher //
// Q = Protect From Mage //
// W = Protect From Range //
// E = Protect From Melee //
// S = Stops Script //
///////////////////////////////////

program prayer;
{.include SRL/SRL.scar}
{.include SRL/SRL/skill/Prayer.scar}
begin;
SetupSRL;
repeat;
if(IsKeyDown('q'))then
begin;
PrayerClick('ma')
end;
if(IsKeyDown('w'))then
begin;
PrayerClick('mi')
end;
if(IsKeyDown('e'))then
begin;
PrayerClick('me')
end;
if(IsKeyDown('s'))then
begin;
terminatescript;
end;
until(IsKeyDown('s'))
end.[/PHP]

Made for the Fight Caves boss guy.