medo Posted July 22, 2013 Group: Members Topic Count: 67 Topics Per Day: 0.01 Content Count: 138 Reputation: 0 Joined: 07/05/12 Last Seen: March 31, 2018 Share Posted July 22, 2013 (edited) hi everybody i want npc script, if some players want open shop and want remains the shop even if the windows game has closed , just must talk npc like "npc:shop" in PM thx, i am sry i bad speak english Edited July 22, 2013 by medo Quote Link to comment Share on other sites More sharing options...
-SkittleNugget- Posted July 22, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 318 Reputation: 54 Joined: 12/23/12 Last Seen: July 1, 2017 Share Posted July 22, 2013 You want a "NPC shop" to open upon PM'ing the word npc:shop ? It's hard to understand what you are asking. Quote Link to comment Share on other sites More sharing options...
Xynvaroth Posted July 22, 2013 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 254 Reputation: 72 Joined: 07/10/13 Last Seen: October 9, 2017 Share Posted July 22, 2013 If you want the possibility to open a shop window by whispering a npc, you could do it like this: - script Potion_Shop -,{ OnWhisperGlobal: callshop "PotionShop", 0; end; } - shop PotionShop -1,501:-1Whisper npc:Potion_Shop to open the shop. The options are: 0 = The normal window (buy, sell and cancel) 1 = The buy window 2 = The sell window Quote Link to comment Share on other sites More sharing options...
BTNX Posted July 22, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 55 Reputation: 3 Joined: 04/02/12 Last Seen: October 22, 2022 Share Posted July 22, 2013 (edited) I think he wants @autotrade... if that is the case you can just set access to autotrade to group id 0 instead of... I think default is 1 which is premium. is there a reason why you want players to talk to the npc first? Edited July 22, 2013 by BTNX Quote Link to comment Share on other sites More sharing options...
SweetyBerriiz Posted July 22, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 18 Reputation: 0 Joined: 07/22/13 Last Seen: October 31, 2013 Share Posted July 22, 2013 user vending skill and @at to open vending offline ? Quote Link to comment Share on other sites More sharing options...
Question
medo
hi everybody
i want npc script, if some players want open shop and want remains the shop even if the windows game has closed , just must talk npc like "npc:shop" in PM
thx, i am sry i bad speak english
Edited by medoLink to comment
Share on other sites
4 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.