Jump to content
  • 0

Ticket to Rental item


Mau

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   3
  • Joined:  07/04/13
  • Last Seen:  

i want to npc script that give the player a rental item for ticket

1 ticket = 1 day item

ex..

if the player choose the item and choose 1 ticket the npc will give 1 day rental item.

etc.

like

 

Npc: what do you want?(a menu appeared)

menu = Gears, Gods, Extend my items.

player: he choose Gods.

 

Npc:  what item you want?(a menu appeared)

player: he choose sleipnir;

Npc: how many days: (a menu appeared)

maximum is 10 days

player: he choose 3

 

if he has insufficient ticket.

Npc: sorry insufficient ticket!

 

if he has sufficient ticket

Npc: here's you're item!

 

in extend my items he will choose how many days.

Npc: how many days: (a menu appeared)

maximum is 10 days

player: he choose 3

 

if he has insufficient ticket.

Npc: sorry insufficient ticket!

 

if he has sufficient ticket

Npc: here's you're item!

 

 

thanks!!  /no1

 

  • Upvote 1
Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

@Kido has actually tried to script this, and asked for my support in PM
but his script is made too long with just the *menu script command

I think this is why most scripters turn away because many people here still couldn't utilize advance scripting technique
and I also noticed this extending rental item feature ... which have to use getinventorylist command
makes me wants to dig this in myself
 
I lost count of how many techniques I used inside


EDIT: wait, accessory and god items has different rate

ok

prontera,150,180,5	script	kjdhfksj	100,{
	mes "what do you want?";
	next;
	if ( select ( "Gears", "Extend my items" ) == 1 ) {
		mes "what item you want";
		next;
		.@category_select = select ( "Accessory", "Lower Gears", "Mid Gears", "Head Gears", "Godly Gears" );
		mes "what item you want";
		next;
		if ( .@category_select != 5 )
			.@id_select = select( getd( "."+ .category$[ .@category_select ] +"_id_menu$" ) ) -1;
		else
			.@id_select = select( .god_id_menu$ ) -1;
		mes "how many days";
		next;
		.@days = select( .day_menu$ );
		if ( countitem( .rentitem ) < .@days ) {
			mes "sorry insufficient ticket!";
			close;
		}
		mes "here's you're item!";
		if ( .@category_select == 1 || .@category_select == 5 )
			delitem .rentitem, .@days *2;
		else
			delitem .rentitem, .@days;
		if ( .@category_select != 5 )
			rentitem getd( "."+ .category$[ .@category_select ] +"_id_start" ) + .@id_select, 60*60*24* .@days;
		else
			rentitem .god_id[ .@id_select ], 60*60*24* .@days;
	}
	else {
		getinventorylist;
		for ( .@i = 0; .@i < @inventorylist_count; .@i++ ) {
			if ( compare( .id_compare$, "#"+ @inventorylist_id[.@i] +"#" ) ) {
				.@item_id[.@c] = @inventorylist_id[.@i];
				.@expire[.@c] = @inventorylist_expire[.@i];
				.@menu$ = .@menu$ + getitemname( @inventorylist_id[.@i] ) +":";
				.@c++;
			}
		}
		if ( !.@c ) {
			mes "there is no rental item in your inventory";
			close;
		}
		mes "which item";
		next;

		.@s = select( .@menu$ ) -1;
		if ( countitem( .@item_id[.@s] ) >= 2 ) {
			mes "there are more than 1 of "+ getitemname( .@item_id[.@s] ) +" in your inventory. Make sure there is only 1 of them in your inventory.";
			close;
		}
		mes "how many days";
		next;
		.@days = select( .day_menu$ );
		if ( countitem( .rentitem ) < .@days ) {
			mes "sorry insufficient ticket!";
			close;
		}
		mes "here's you're item!";
		if ( .@item_id[.@s] >= 8000 && .@item_id[.@s] < 9000 )
			delitem .rentitem, .@days;
		else
			delitem .rentitem, .@days *2;
		delitem .@item_id[.@s], 1;
		rentitem .@item_id[.@s], .@expire[.@s] - gettimetick(2) + 60*60*24* .@days;
		close;
	}
	close;
OnInit:
	setarray .category$[1], "accessory", "lower", "mid", "head";
	for ( .@i = 1; .@i <= 10; .@i++ )
		.day_menu$ = .day_menu$ + .@i +":";
	.id_compare$ = "#";

	set .rentitem, 24042; // itemID to rent
	// Accessory items
	.accessory_id_start = 20000;
	.accessory_id_end = 20005;
	for ( .@i = .accessory_id_start; .@i <= .accessory_id_end; .@i++ ) {
		.accessory_id_menu$ = .accessory_id_menu$ + getitemname( .@i ) +":";
		.id_compare$ = .id_compare$ + .@i +"#";
	}
	// Lower Gears
	.lower_id_start = 8000;
	.lower_id_end = 8021;
	for ( .@i = .lower_id_start; .@i <= .lower_id_end; .@i++ ) {
		.lower_id_menu$ = .lower_id_menu$ + getitemname( .@i ) +":";
		.id_compare$ = .id_compare$ + .@i +"#";
	}
	// Mid Gears
	.mid_id_start = 8022;
	.mid_id_end = 8036;
	for ( .@i = .mid_id_start; .@i <= .mid_id_end; .@i++ ) {
		.mid_id_menu$ = .mid_id_menu$ + getitemname( .@i ) +":";
		.id_compare$ = .id_compare$ + .@i +"#";
	}
	// Head Gears
	.head_id_start = 8037;
	.head_id_end = 8059;
	for ( .@i = .head_id_start; .@i <= .head_id_end; .@i++ ) {
		.head_id_menu$ = .head_id_menu$ + getitemname( .@i ) +":";
		.id_compare$ = .id_compare$ + .@i +"#";
	}
	// Godly Item IDs
	setarray .god_id, 2629, 2410;
	.@size = getarraysize( .god_id );
	for ( .@i = 0; .@i < .@size; .@i++ ) {
		.god_id_menu$ = .god_id_menu$ + getitemname( .god_id[.@i] ) +":";
		.id_compare$ = .id_compare$ + .god_id[.@i] +"#";
	}
	end;
}

EDIT for below:
at least you have tried ~  :meow:  /no1

Edited by AnnieRuru
  • Upvote 4
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

Please specify what rental items you would like the NPC to give per ticket

 

So far all I can see is : Slephnir.

 

I also need the item ID of the Ticket so I can add that into the script, or do you need that made also?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   3
  • Joined:  07/04/13
  • Last Seen:  

it will need mithril coin( too to rent.

24042,Rental Ticket

Donate accessory items for rent

20000,Str_Megs, 2b or 2 mithril coin
20001,Agi_Megs, 2b or 2 mithril coin
20002,Vit_Megs 2b or 2 mithril coin
20003,Int_Megs = 2b or 2 mithril coin
20004,Dex_Megs = 2b or 2 mithril coin
20005,Luk_Megs = 2b or 2 mithril coin
 
Donate Lower Gears items for rent
8000 ~ 8021 = 1b or 1 mithril coin
Donate Middle Gear items for rent
8022 ~ 8036 = 1b or 1 mithril coin
 
Donate Head Gears items for rent
8037 ~ 8059 = 1b or 1 mithril coin
 
Donate Gods Item for Rent
2629,Sleipnir 2b or 2 mithril coin
2410,Mjolnir 2b or 2 mithril coin

Please specify what rental items you would like the NPC to give per ticket

 

So far all I can see is : Slephnir.

 

I also need the item ID of the Ticket so I can add that into the script, or do you need that made also?


Any one? Bump :(


Bump! :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   3
  • Joined:  07/04/13
  • Last Seen:  

huhu... any one

  /sob

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   3
  • Joined:  07/04/13
  • Last Seen:  

help huhuh

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

use this rental,bla,bla;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   3
  • Joined:  07/04/13
  • Last Seen:  

can somebody do this? pleae 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   3
  • Joined:  07/04/13
  • Last Seen:  

Bump... to anyone is it possible. can somebody with kind heart

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

hey don't worry pal

 

i'm not the great scripter you know, gonna think/work on it

 

i will try to, smile up (:

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

huh Annie did it o:

 

thanks Annie o:!

 

lol sorry i didn't read the second post of yours Mau, where you specify the acces and ids and items x_x sorry D:!

 

i made the script only based on the first post so sorry DDDD:!

 

well, anyway, Annie ended it with short and best results, you are on the best hands with her when she does script

 

lol here is my script made with only menu options, eveyrone will laught/cry about this lol

prontera,156,174,5	script	Rental Guy	822,{
mes "Hello, i can exchange your tickets for rentals and or expand the time of your rental item";
mes "However, i can only do it for 1 day per ticket with a limit of 10 tickets or 10 days";
next;
mes "Firstly, please select how many days do you wish to expand your item, if you want to expand, if not select the last option.";
mes "Note, tickets will be deleted on selection so please pick wise, also note that to expand the duration of an item you will need the item with you";
next;
menu "1 day",L_1,"2 days",L_2,"3 days",L_3,"4 days",L_4,"5 days",L_5,"6 days",L_6,"7 days",L_7,"8 days",L_8,"9 days",L_9,"10 days",L_10,"Rent an item for first time",L_rent,"cancel",L_cancel;
next;
L_1:
if(countitem(7711)<1)goto no_item;
delitem 7711,1;
mes "Allright, now select an item";
menu "Sleipnir",L_S1,"Meginghard",L_M1,"Asprika",L_A1,"Brisingamen",L_B1,"Mjolnir",L_Mj1;
next;
L_S1:
if(countitem(2410)<1)goto no_equip;
delitem 2410,1;
rentitem 2410,86400;
next;
close;
L_M1:
if(countitem(2629)<1)goto no_equip;
delitem 2629,1;
rentitem 2629,86400;
next;
close;
L_A1:
if(countitem(2541)<1)goto no_equip;
delitem 2541,1;
rentitem 2541,86400;
next;
close;
L_B1:
if(countitem(2630)<1)goto no_equip;
delitem 2630,1;
rentitem 2630,86400;
next;
close;
L_Mj1:
if(countitem(1530)<1)goto no_equip;
delitem 1530,1;
rentitem 1530,86400;
next;
close;
L_2:
if(countitem(7711)<2)goto no_item;
delitem 7711,2;
mes "Allright, now select an item";
menu "Sleipnir",L_S2,"Meginghard",L_M2,"Asprika",L_A2,"Brisingamen",L_B2,"Mjolnir",L_Mj2;
next;
L_S2:
if(countitem(2410)<1)goto no_equip;
delitem 2410,1;
rentitem 2410,172800;
next;
close;
L_M2:
if(countitem(2629)<1)goto no_equip;
delitem 2629,1;
rentitem 2629,172800;
next;
close;
L_A2:
if(countitem(2541)<1)goto no_equip;
delitem 2541,1;
rentitem 2541,172800;
next;
close;
L_B2:
if(countitem(2630)<1)goto no_equip;
delitem 2630,1;
rentitem 2630,172800;
next;
close;
L_Mj2:
if(countitem(1530)<1)goto no_equip;
delitem 1530,1;
rentitem 1530,172800;
next;
close;
L_3:
if(countitem(7711)<3)goto no_item;
delitem 7711,3;
mes "Allright, now select an item";
menu "Sleipnir",L_S3,"Meginghard",L_M3,"Asprika",L_A3,"Brisingamen",L_B3,"Mjolnir",L_Mj3;
L_S3:
if(countitem(2410)<1)goto no_equip;
delitem 2410,1;
rentitem 2410,259200;
next;
close;
L_M3:
if(countitem(2629)<1)goto no_equip;
delitem 2629,1;
rentitem 2629,259200;
next;
close;
L_A3:
if(countitem(2541)<1)goto no_equip;
delitem 2541,1;
rentitem 2541,259200;
next;
close;
L_B3:
if(countitem(2630)<1)goto no_equip;
delitem 2630,1;
rentitem 2630,259200;
next;
close;
L_Mj3:
if(countitem(1530)<1)goto no_equip;
delitem 1530,1;
rentitem 1530,259200;
next;
close;
L_4:
if(countitem(7711)<4)goto no_item;
delitem 7711,4;
mes "Allright, now select an item";
menu "Sleipnir",L_S4,"Meginghard",L_M4,"Asprika",L_A4,"Brisingamen",L_B4,"Mjolnir",L_Mj4;
next;
L_S4:
if(countitem(2410)<1)goto no_equip;
delitem 2410,1;
rentitem 2410,345600;
next;
close;
L_M4:
if(countitem(2629)<1)goto no_equip;
delitem 2629,1;
rentitem 2629,345600;
next;
close;
L_A4:
if(countitem(2541)<1)goto no_equip;
delitem 2541,1;
rentitem 2541,345600;
next;
close;
L_B4:
if(countitem(2630)<1)goto no_equip;
delitem 2630,1;
rentitem 2630,345600;
next;
close;
L_Mj4:
if(countitem(1530)<1)goto no_equip;
delitem 1530,1;
rentitem 1530,345600;
next;
close;
L_5:
if(countitem(7711)<5)goto no_item;
delitem 7711,5;
mes "Allright, now select an item";
menu "Sleipnir",L_S5,"Meginghard",L_M5,"Asprika",L_A5,"Brisingamen",L_B5,"Mjolnir",L_Mj5;
next;
L_S5:
if(countitem(2410)<1)goto no_equip;
delitem 2410,1;
rentitem 2410,432000;
next;
close;
L_M5:
if(countitem(2629)<1)goto no_equip;
delitem 2629,1;
rentitem 2629,432000;
next;
close;
L_A5:
if(countitem(2541)<1)goto no_equip;
delitem 2541,1;
rentitem 2541,432000;
next;
close;
L_B5:
if(countitem(2630)<1)goto no_equip;
delitem 2630,1;
rentitem 2630,432000;
next;
close;
L_Mj5:
if(countitem(1530)<1)goto no_equip;
delitem 1530,1;
rentitem 1530,432000;
next;
close;
L_6:
if(countitem(7711)<6)goto no_item;
delitem 7711,6;
mes "Allright, now select an item";
menu "Sleipnir",L_S6,"Meginghard",L_M6,"Asprika",L_A6,"Brisingamen",L_B6,"Mjolnir",L_Mj6;
next;
L_S6:
if(countitem(2410)<1)goto no_equip;
delitem 2410,1;
rentitem 2410,518400;
next;
close;
L_M6:
if(countitem(2629)<1)goto no_equip;
delitem 2629,1;
rentitem 2629,518400;
next;
close;
L_A6:
if(countitem(2541)<1)goto no_equip;
delitem 2541,1;
rentitem 2541,518400;
next;
close;
L_B6:
if(countitem(2630)<1)goto no_equip;
delitem 2630,1;
rentitem 2630,518400;
next;
close;
L_Mj6:
if(countitem(1530)<1)goto no_equip;
delitem 1530,1;
rentitem 1530,518400;
next;
close;
L_7:
if(countitem(7711)<7)goto no_item;
delitem 7711,7;
mes "Allright, now select an item";
menu "Sleipnir",L_S7,"Meginghard",L_M7,"Asprika",L_A7,"Brisingamen",L_B7,"Mjolnir",L_Mj7;
next;
L_S7:
if(countitem(2410)<1)goto no_equip;
delitem 2410,1;
rentitem 2410,604800;
next;
close;
L_M7:
if(countitem(2629)<1)goto no_equip;
delitem 2629,1;
rentitem 2629,604800;
next;
close;
L_A7:
if(countitem(2541)<1)goto no_equip;
delitem 2541,1;
rentitem 2541,604800;
next;
close;
L_B7:
if(countitem(2630)<1)goto no_equip;
delitem 2630,1;
rentitem 2630,604800;
next;
close;
L_Mj7:
if(countitem(1530)<1)goto no_equip;
delitem 1530,1;
rentitem 1530,604800;
next;
close;
L_8:
if(countitem(7711)<8)goto no_item;
delitem 7711,8;
mes "Allright, now select an item";
menu "Sleipnir",L_S8,"Meginghard",L_M8,"Asprika",L_A8,"Brisingamen",L_B8,"Mjolnir",L_Mj8;
next;
L_S8:
if(countitem(2410)<1)goto no_equip;
delitem 2410,1;
rentitem 2410,691200;
next;
close;
L_M8:
if(countitem(2629)<1)goto no_equip;
delitem 2629,1;
rentitem 2629,691200;
next;
close;
L_A8:
if(countitem(2541)<1)goto no_equip;
delitem 2541,1;
rentitem 2541,691200;
next;
close;
L_B8:
if(countitem(2630)<1)goto no_equip;
delitem 2630,1;
rentitem 2630,691200;
next;
close;
L_Mj8:
if(countitem(1530)<1)goto no_equip;
delitem 1530,1;
rentitem 1530,691200;
next;
close;
L_9:
if(countitem(7711)<9)goto no_item;
delitem 7711,9;
mes "Allright, now select an item";
menu "Sleipnir",L_S9,"Meginghard",L_M9,"Asprika",L_A9,"Brisingamen",L_B9,"Mjolnir",L_Mj9;
next;
L_S9:
if(countitem(2410)<1)goto no_equip;
delitem 2410,1;
rentitem 2410,777600;
next;
close;
L_M9:
if(countitem(2629)<1)goto no_equip;
delitem 2629,1;
rentitem 2629,777600;
next;
close;
L_A9:
if(countitem(2541)<1)goto no_equip;
delitem 2541,1;
rentitem 2541,777600;
next;
close;
L_B9:
if(countitem(2630)<1)goto no_equip;
delitem 2630,1;
rentitem 2630,777600;
next;
close;
L_Mj9:
if(countitem(1530)<1)goto no_equip;
delitem 1530,1;
rentitem 1530,777600;
next;
close;
L_10:
if(countitem(7711)<10)goto no_item;
delitem 7711,10;
mes "Allright, now select an item";
menu "Sleipnir",L_S0,"Meginghard",L_M0,"Asprika",L_A0,"Brisingamen",L_B0,"Mjolnir",L_Mj0;
next;
L_S0:
if(countitem(2410)<1)goto no_equip;
delitem 2410,1;
rentitem 2410,864000;
next;
close;
L_M0:
if(countitem(2629)<1)goto no_equip;
delitem 2629,1;
rentitem 2629,864000;
next;
close;
L_A0:
if(countitem(2541)<1)goto no_equip;
delitem 2541,1;
rentitem 2541,864000;
next;
close;
L_B0:
if(countitem(2630)<1)goto no_equip;
delitem 2630,1;
rentitem 2630,864000;
next;
close;
L_Mj0:
if(countitem(1530)<1)goto no_equip;
delitem 1530,1;
rentitem 1530,864000;
next;
close;

no_item:
mes "Huh trying to fool me?";
mes "you don't have sufficent tickets.";
mes "Sorry i can't refund any ticket.";
close;

no_equip:
mes "Sorry but seems that you don't even have the correct equip";
mes "First get it and then we may talk";
close;

L_cancel:
mes "Allright don't worry, come to me any time";
close;

L_rent:
mes "Allright, select an item to rent for first time and how many days";
mes "Note, on selection the ticket will be deleted, so please pick wise";
mes "Remember, for each day you will need a ticket";
menu "1 Day",L_n1,"2 Days",L_n2,"3 Days",L_n3,"4 Days",L_n4,"5 Days",L_n5,"6 Days",L_n6,"7 Days",L_n7,"8 Days",L_n8,"9 Days",L_n9,"10 Days",L_n10,"Cancel",L_cancel;
next;
L_n1:
if(countitem(7711)<1)goto no_item;
delitem 7711,1;
mes "Allright, now select an item";
menu "Sleipnir",L_nSs1,"Meginghard",L_nMm1,"Asprika",L_nAa1,"Brisingamen",L_nBb1,"Mjolnir",L_nMmj1;
next;
L_nSs1:
rentitem 2410,86400;
next;
close;
L_nMm1:
rentitem 2629,86400;
next;
close;
L_nAa1:
rentitem 2541,86400;
next;
close;
L_nBb1:
rentitem 2630,86400;
next;
close;
L_nMmj1:
rentitem 1530,86400;
next;
L_n2:
if(countitem(7711)<2)goto no_item;
delitem 7711,2;
mes "Allright, now select an item";
menu "Sleipnir",L_nSs2,"Meginghard",L_nMm2,"Asprika",L_nAa2,"Brisingamen",L_nBb2,"Mjolnir",L_nMmj2;
next;
L_nSs2:
rentitem 2410,172800;
next;
close;
L_nMm2:
rentitem 2629,172800;
next;
close;
L_nAa2:
rentitem 2541,172800;
next;
close;
L_nBb2:
rentitem 2630,172800;
next;
close;
L_nMmj2:
rentitem 1530,172800;
next;
close;
L_n3:
if(countitem(7711)<3)goto no_item;
delitem 7711,3;
mes "Allright, now select an item";
menu "Sleipnir",L_nSs3,"Meginghard",L_nMm3,"Asprika",L_nAa3,"Brisingamen",L_nBb3,"Mjolnir",L_nMmj3;
L_nSs3:
rentitem 2410,259200;
next;
close;
L_nMm3:
rentitem 2629,259200;
next;
close;
L_nAa3:
rentitem 2541,259200;
next;
close;
L_nBb3:
rentitem 2630,259200;
next;
close;
L_nMmj3:
rentitem 1530,259200;
next;
close;
L_n4:
if(countitem(7711)<4)goto no_item;
delitem 7711,4;
mes "Allright, now select an item";
menu "Sleipnir",L_nSs4,"Meginghard",L_nMm4,"Asprika",L_nAa4,"Brisingamen",L_nBb4,"Mjolnir",L_nMmj4;
next;
L_nSs4:
rentitem 2410,345600;
next;
close;
L_nMm4:
rentitem 2629,345600;
next;
close;
L_nAa4:
rentitem 2541,345600;
next;
close;
L_nBb4:
rentitem 2630,345600;
next;
close;
L_nMmj4:
rentitem 1530,345600;
next;
close;
L_n5:
if(countitem(7711)<5)goto no_item;
delitem 7711,5;
mes "Allright, now select an item";
menu "Sleipnir",L_nSs5,"Meginghard",L_nMm5,"Asprika",L_nAa5,"Brisingamen",L_nBb5,"Mjolnir",L_nMmj5;
next;
L_nSs5:
rentitem 2410,432000;
next;
close;
L_nMm5:
rentitem 2629,432000;
next;
close;
L_nAa5:
rentitem 2541,432000;
next;
close;
L_nBb5:
rentitem 2630,432000;
next;
close;
L_nMmj5:
rentitem 1530,432000;
next;
close;
L_n6:
if(countitem(7711)<6)goto no_item;
delitem 7711,6;
mes "Allright, now select an item";
menu "Sleipnir",L_nSs6,"Meginghard",L_nMm6,"Asprika",L_nAa6,"Brisingamen",L_nBb6,"Mjolnir",L_nMmj6;
next;
L_nSs6:
rentitem 2410,518400;
next;
close;
L_nMm6:
rentitem 2629,518400;
next;
close;
L_nAa6:
rentitem 2541,518400;
next;
close;
L_nBb6:
rentitem 2630,518400;
next;
close;
L_nMmj6:
rentitem 1530,518400;
next;
close;
L_n7:
if(countitem(7711)<7)goto no_item;
delitem 7711,7;
mes "Allright, now select an item";
menu "Sleipnir",L_nSs7,"Meginghard",L_nMm7,"Asprika",L_nAa7,"Brisingamen",L_nBb7,"Mjolnir",L_nMmj7;
next;
L_nSs7:
rentitem 2410,604800;
next;
close;
L_nMm7:
rentitem 2629,604800;
next;
close;
L_nAa7:
rentitem 2541,604800;
next;
close;
L_nBb7:
rentitem 2630,604800;
next;
close;
L_nMmj7:
rentitem 1530,604800;
next;
close;
L_n8:
if(countitem(7711)<8)goto no_item;
delitem 7711,8;
mes "Allright, now select an item";
menu "Sleipnir",L_nSs8,"Meginghard",L_nMm8,"Asprika",L_nAa8,"Brisingamen",L_nBb8,"Mjolnir",L_nMmj8;
next;
L_nSs8:
rentitem 2410,691200;
next;
close;
L_nMm8:
rentitem 2629,691200;
next;
close;
L_nAa8:
rentitem 2541,691200;
next;
close;
L_nBb8:
rentitem 2630,691200;
next;
close;
L_nMmj8:
rentitem 1530,691200;
next;
close;
L_n9:
if(countitem(7711)<9)goto no_item;
delitem 7711,9;
mes "Allright, now select an item";
menu "Sleipnir",L_nSs9,"Meginghard",L_nMm9,"Asprika",L_nAa9,"Brisingamen",L_nBb9,"Mjolnir",L_nMmj9;
next;
L_nSs9:
rentitem 2410,777600;
next;
close;
L_nMm9:
rentitem 2629,777600;
next;
close;
L_nAa9:
rentitem 2541,777600;
next;
close;
L_nBb9:
rentitem 2630,777600;
next;
close;
L_nMmj9:
rentitem 1530,777600;
next;
close;
L_n10:
if(countitem(7711)<10)goto no_item;
delitem 7711,10;
mes "Allright, now select an item";
menu "Sleipnir",L_nSs0,"Meginghard",L_nMm0,"Asprika",L_nAa0,"Brisingamen",L_nBb0,"Mjolnir",L_nMmj0;
next;
L_nSs0:
rentitem 2410,864000;
next;
close;
L_nMm0:
rentitem 2629,864000;
next;
close;
L_nAa0:
rentitem 2541,864000;
next;
close;
L_nBb0:
rentitem 2630,864000;
next;
close;
L_nMmj0:
rentitem 1530,864000;
next;
close;
OnInit:
waitingroom "Rentals",0;
end;
}

i totally suugest you to use AnnieRuru's script, the one that is over this post lol

 

well Mau, i hope your request is satisfied (which i assume it is lol)

 

hope see you around here on the community, always ask for help if you need again, cya /gawi !

  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   3
  • Joined:  07/04/13
  • Last Seen:  

this isn't what i want.. hehe.. i'll just edit it.. thanks to 

Kido

and

 

AnnieRuru

hehe. +1 reputation to you..

..thanks..

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

hehe sorry, i couldn't even do that x_x i will read more carefully next time :)

 

you should say thanks to Annie, you know she made all the work and isn't easy at all o:

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