Austintheman
2011-12-20 01:12:04
Hello, I'm trying my best to try and figure out how to make the Nature rune script renew pouches by fiddling around with various of codes of various scripts, however, when I add part of the code that requires the script to renew the pouch, i get an error called
Could anyone explain why this is happening and what I should do to fix this?
(kinda took this from PatDuffy's code, credit goes to him(if i'm not allowed to post this then please remove it!)):
Hopefully if this works, i can implement it to my bandit killer also :spongebob:
Thank you.
[Error] (1258:13): Unknown identifier 'Renew' at line 1257Could anyone explain why this is happening and what I should do to fix this?
(kinda took this from PatDuffy's code, credit goes to him(if i'm not allowed to post this then please remove it!)):
function GraahkGoneDie:Boolean;
begin
if FindChatBoxText('before your familiar vanishes',8,127)then
begin
if not HasPouch then
begin
Result:=True;
end else
if InteractFamiliar('Renew') then
begin
Inc(Renew);
Result:=False;
end;
end else
Result:=False;
end; Hopefully if this works, i can implement it to my bandit killer also :spongebob:
Thank you.