Jump to content
  • 0

Help me with this script.


Shogun

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   4
  • Joined:  10/25/12
  • Last Seen:  

The delay not working, please guide me what did i miss.

prontera,156,183,4 script Buffer 750,{
if ( Delay_Heal > gettimetick(2) ) goto delay;
  percentheal 100,100;
skilleffect 74,0; sc_start SC_MAGNIFICAT,900000,5;
skilleffect 75,0; sc_start SC_GLORIA,900000,5;
skilleffect 67,0; sc_start SC_SUFFRAGIUM,900000,3;
skilleffect 34,0; sc_start SC_BLESSING,900000,10;
skilleffect 29,0; sc_start SC_INCREASEAGI,900000,10;
sc_start SC_ASPDPOTION2,900000,0;
skilleffect 361,0; sc_start SC_ASSUMPTIO,900000,5;
while (getbrokenid(1)) {
repair(1);
set .@i, .@i +1;
}
if (.@i) dispbottom .@i + " Items Repaired.";
end;
set Delay_Heal,gettimetick(2)+3;
end;
delay:
dispbottom "Wait 3 seconds";
end;
}

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Why not use the script in the SVN...? trunk/npc/custom/healer.txt

You have an end; before setting the delay variable.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   4
  • Joined:  10/25/12
  • Last Seen:  

Because I learning to script :)

Thanks Euphy.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...