Jump to content
  • 0

R> VIP MAP warper which requires an item with expiration !


Question

Posted

Hello good day to all ! 

I need a script for my server which will make a NPC WARPER to the VIP ROOM but it requires an ITEM with EXPIRATION !

 

- NPC Warper to VIP ROOM MAP

- But it requires an item to use the warper

- the item use to warp has an expiration (3days, 1week, 1month)

For me its seem so hard.

I hope somebody will help ! 

Thank is advance ! More Power !

4 answers to this question

Recommended Posts

Posted

Like this?

prontera,100,100,5	script	VIP ROOM	45,3,3,{
	if( vip_status(1) && !countitem(6269) ) {
		mes "[VIP ROOM]";
		mes "Ahh, looks like your a VIP why don't you take this pass to our special room.";
		next;
		mes "[VIP ROOM]";
		mes "But, remember the pass only lasts for 3 months 1 week and 3 days.";
		next;
		mes "[VIP ROOM]";
		mes "Talk to me again if you want to warp to the VIP room!";
		close2;
		rentitem 6269,3456000;
		end;
	}

OnTouch:
	if( !countitem(6269) ) {
		mes "[VIP ROOM]";
		mes "You need a special pass to enter this room!";
		close;
	}

	warp "<index_name>",0,0;
	end;
}
Posted

 

Like this?

prontera,100,100,5	script	VIP ROOM	45,3,3,{
	if( vip_status(1) && !countitem(6269) ) {
		mes "[VIP ROOM]";
		mes "Ahh, looks like your a VIP why don't you take this pass to our special room.";
		next;
		mes "[VIP ROOM]";
		mes "But, remember the pass only lasts for 3 months 1 week and 3 days.";
		next;
		mes "[VIP ROOM]";
		mes "Talk to me again if you want to warp to the VIP room!";
		close2;
		rentitem 6269,3456000;
		end;
	}

OnTouch:
	if( !countitem(6269) ) {
		mes "[VIP ROOM]";
		mes "You need a special pass to enter this room!";
		close;
	}

	warp "<index_name>",0,0;
	end;
}

It is possible for i to put an expiration on the required item to access the VIP ROOM ?

Thanks A LOT ! 

Posted

It is possible for i to put an expiration on the required item to access the VIP ROOM ?

 

 

It's a rental item it's already there...

rentitem 6269,3456000;
rentitem <item_id>,<time_in_seconds>;
Posted

 

Like this?

prontera,100,100,5	script	VIP ROOM	45,3,3,{
	if( vip_status(1) && !countitem(6269) ) {
		mes "[VIP ROOM]";
		mes "Ahh, looks like your a VIP why don't you take this pass to our special room.";
		next;
		mes "[VIP ROOM]";
		mes "But, remember the pass only lasts for 3 months 1 week and 3 days.";
		next;
		mes "[VIP ROOM]";
		mes "Talk to me again if you want to warp to the VIP room!";
		close2;
		rentitem 6269,3456000;
		end;
	}

OnTouch:
	if( !countitem(6269) ) {
		mes "[VIP ROOM]";
		mes "You need a special pass to enter this room!";
		close;
	}

	warp "<index_name>",0,0;
	end;
}

Sir i think i have a problem with this script..

after clicking this NPC this message dosnt show . it direct warp me to the VIP ROOM 

 

        mes "[VIP ROOM]";

        mes "Ahh, looks like your a VIP why don't you take this pass to our special room.";

        next;

        mes "[VIP ROOM]";

        mes "But, remember the pass only lasts for 3 months 1 week and 3 days.";

        next;

        mes "[VIP ROOM]";

        mes "Talk to me again if you want to warp to the VIP room!";

 

Please Help . Thanks

 

 

and also i thing .. on the required item to go thought the VIP ROOM . DO i have to make a custom item with a rentitem script ? or rentitem 6269,3456000; this is already for that ?but i think when i try this . it dosnt work .. and Please add after the expiration of the item that char automatically warp him.her out the VIP ROOM !

 

Thank you very much ! 

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...