Jump to content
  • 0

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


BavariaN

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   1
  • Joined:  10/17/13
  • Last Seen:  

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 !

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

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;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   1
  • Joined:  10/17/13
  • Last Seen:  

 

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 ! 

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

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>;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   1
  • Joined:  10/17/13
  • Last Seen:  

 

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 ! 

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