Return skill value.
If char disconnected - return 0
Pascal Syntax:
function GetSkillValue(SkillName : String) : ShortInt;
Pascal Example:
Useskill('Inscription');
Wait(250);
SkillValue := GetSkillValue('Inscription');
if ( SkillValue >= 33 ) and ( SkillValue < 43 )then begin
WaitMenu('Escolha um circulo','Magias do Circulo 2');
Wait(3000);
WaitMenu('Que magia quer escrever','Strength');
end;
if ( SkillValue >= 43 ) and ( SkillValue < 53 ) then begin
WaitMenu('Escolha um circulo','Magias do Circulo 3');
Wait(3000);
WaitMenu('Que magia quer escrever','Wall of Stone');
end;
//etc.
Python Syntax:
def GetSkillValue(SkillName): --> byte