Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

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

тут можно задать вопрос по скриптингу
Post Reply
Antarius
Neophyte
Neophyte
Posts: 45
Joined: 24.06.2005 20:03

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

Post 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
Miralex
Developer
Developer
Posts: 656
Joined: 11.03.2005 19:12
Contact:

Post by Miralex »

if (InJournal('You fail to communicate with the netherworld.') >= 0) then
Post Reply