Jump to content
  • 0

can i request npc warp?


Question

1 answer to this question

Recommended Posts

Posted (edited)

/bo Simple NPC

prontera,150,155,5	script	hyuikol	456,{
//-- ID coupon
.@ID = 30004;
//-

mes "^770000~~ Thana Warper ~~^000000";
mes "I can warp you inside Thanatos Tower !";
mes "Shall we go ?";
next;

if( select( "Yes:No" ) -1 ) {
//-- Leave
	mes "^770000~~ Thana Warper ~~^000000";
	mes "Maybe another day ?";
	close;
}

//-- Check inventory
if( countitem( .@ID ) < 1 ) {
	mes "^770000~~ Thana Warper ~~^000000";
	mes "Sorry a ^CC00CC"+getitemname( .@ID )+"^000000 is required for the process.";
	close;
}
close2;
message strcharinfo(0),"Here we go ! Get ready...";
delitem .@ID, 1;
//-- 2 seconds delay before warp
sleep2 2000;
warp "thana_boss",0,0;
end;
}

Edited by Capuche

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...