SRL Archive - SRL Archives

Procedure SayCurrentLevels(which : string);


realrune

2006-06-09 12:15:54

Here ya go, something that would prove useful to autoresponders…


procedure SayCurrentLevels(which : string); //very useful for autoresponders.
var
I : integer;
begin
case lowercase(Which) of
'attack' : I := 1;
'strength' : I := 2;
'defence' : I := 3;
'range' : I := 4;
'prayer' : I := 5;
'magic' : I := 6;
'runecrafting' : I := 7;
'hitpoints' : I := 8;
'agility' : I := 9;
'herblore' : I := 10;
'thieving' : I := 11;
'crafting' : I := 12;
'fletching' : I := 13;
'slayer' : I := 14;
'mining' : I := 15;
'smithing' : I := 16;
'fishing' : I := 17;
'cooking' : I := 18;
'firemaking' : I := 19;
'woodcutting' : I := 20;
'farming' : I := 21;
end;
Players[CurrentPlayer].Level[I] := GetSkillLevel(which);
TypeSend(IntToStr(Players[CurrentPlayer].Level[I]));
end;

YoHoJo

2006-06-09 15:41:10

Nice. Good for antiban
I was thinking about making one of these.
Eaxmple

It can be used for when peole ask what lv u are. yeah good.:p

realrune

2006-06-09 18:11:23

Yeah, i used it for my little autoresponder…

Cheesehunk

2006-06-11 17:14:12

I like it!

Very similiar concept as my RemainItems Procedure;

Krazy_Meerkat

2006-06-19 19:58:12

This does look very useful, I'll add it :)

WT-Fakawi

2006-06-19 20:02:19

Work with GetAllLevels!

aah, nvm :D N1.