Hi Guy, i already create this script, but this script have bug and i need help to fix it...
prontera,149,189,4 script Event NPC 859,{
if (countitem(501) > 0) goto callfunc ("E_Warp1");
if (countitem(502) > 0) goto callfunc ("E_Warp2");
else
mes "you dont have item A to use Event NPC"; end;
}
function script E_Warp1 {
if (countitem(501) > 0) goto warp ("prontera",151,185);
end;
}
function script E_Warp2 {
if (countitem(502) > 0) goto warp ("prontera",151,185);
end;
}
i want make script can send you to different warp with different items, this script work but have bug.. i already use other script but have error... if you guy have script more simpler then this i like to try it...
Question
kasim03
Hi Guy, i already create this script, but this script have bug and i need help to fix it...
prontera,149,189,4 script Event NPC 859,{ if (countitem(501) > 0) goto callfunc ("E_Warp1"); if (countitem(502) > 0) goto callfunc ("E_Warp2"); else mes "you dont have item A to use Event NPC"; end; } function script E_Warp1 { if (countitem(501) > 0) goto warp ("prontera",151,185); end; } function script E_Warp2 { if (countitem(502) > 0) goto warp ("prontera",151,185); end; }
i want make script can send you to different warp with different items, this script work but have bug.. i already use other script but have error... if you guy have script more simpler then this i like to try it...
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.