Rocky Road Posted November 9, 2014 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 11/08/14 Last Seen: November 24, 2015 Share Posted November 9, 2014 Guys i know this is an easy script for you but please can anyone give me some easy script like this,, An NPC that will ask for an item to a player to trade with his(NPC) item? can anyone give me some of it? thanks Quote Link to comment Share on other sites More sharing options...
Winz Posted November 9, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted November 9, 2014 prontera,150,165,4 script huh 909,{ set .@trade, 512; set .@tradeamt, 1; set .@get, 531; set .@get, 1; mes "[trade things with me!]"; mes "Hiya! do you have any ^0000FF"+getitemname(.@trade)+"^000000?"; mes "Wanna trade with an ^0000FF"+getitemname(.@get)+"^000000?"; if (select("Yes:No")) == 2 { next; mes "[trade things with me!]"; mes "Okay. Bye!"; close; } if (!countitem(.@trade)) { next; mes "[trade things with me!]"; mes "Umm, but you don't have the ^0000FF"+getitemname(.@trade)+"^000000."; mes "Come back to me when you have one!"; close; } mes "[trade things with me!]"; mes "Off we go!"; delitem .@trade, .@tradeamt; getitem .@get, .@getamt; next; mes "[trade things with me!]"; mes "Have a nice day!"; close; } Quote Link to comment Share on other sites More sharing options...
Rocky Road Posted November 9, 2014 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 11/08/14 Last Seen: November 24, 2015 Author Share Posted November 9, 2014 prontera,150,165,4 script huh 909,{ set .@trade, 512; set .@tradeamt, 1; set .@get, 531; set .@get, 1; mes "[trade things with me!]"; mes "Hiya! do you have any ^0000FF"+getitemname(.@trade)+"^000000?"; mes "Wanna trade with an ^0000FF"+getitemname(.@get)+"^000000?"; if (select("Yes:No")) == 2 { next; mes "[trade things with me!]"; mes "Okay. Bye!"; close; } if (!countitem(.@trade)) { next; mes "[trade things with me!]"; mes "Umm, but you don't have the ^0000FF"+getitemname(.@trade)+"^000000."; mes "Come back to me when you have one!"; close; } mes "[trade things with me!]"; mes "Off we go!"; delitem .@trade, .@tradeamt; getitem .@get, .@getamt; next; mes "[trade things with me!]"; mes "Have a nice day!"; close; } WOW THANKS!! Quote Link to comment Share on other sites More sharing options...
Question
Rocky Road
Guys i know this is an easy script for you but please can anyone give me some easy script like this,,
An NPC that will ask for an item to a player to trade with his(NPC) item?
can anyone give me some of it? thanks
Link to comment
Share on other sites
2 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.