Page 1 of 1

Помогите со скриптом на Spirit Speaking

Posted: 30.07.2005 18:19
by Antarius

Code: Select all

Program Spirit; 
{$Include 'checksave.inc'}  //CheckSave 
{$Include 'hungry.inc'}     //Hungry(1,backpack); 
Begin 
SetARStatus(true); 
while not Dead do
 begin 
  if connected then
   begin 
    CheckSave;
    UseSkill('Spirit Speak');
    Wait(2000);
    if InJournal('You fail to communicate with the netherworld.') then
    begin
    CheckSave;
    UseSkill('Spirit Speak');
    Wait(2000);
    end
    Checksave; 
    Hungry;
    Wait(2000); 
    CheckSave;    
    DisConnect;
    Wait(3000); 
   end
   else 
    begin 
    connect; 
    wait(3000); 
   end; 
end; 
End.
Вроде, все правильно, но все равно пишет в 'System':

22:13:24: Compiling
22:13:24: Compiler: [Error] (Spirit.sc at 13:67): Type mismatch
22:13:24: Compiling failed
22:13:24: Script Spirit.sc stoped successfuly

Posted: 01.08.2005 4:31
by Miralex
if (InJournal('You fail to communicate with the netherworld.') >= 0) then