Rizz Posted June 25, 2021 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 07/29/17 Last Seen: December 28, 2022 Share Posted June 25, 2021 Hi, I have a concept about a shop that can only be accessed by the top 10 Ranked Blacksmith. I would be grateful if someone would provide me the script or instruct me on how to make it. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
0 cook1e Posted June 25, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 171 Reputation: 68 Joined: 10/25/20 Last Seen: 19 hours ago Share Posted June 25, 2021 (edited) Try this one. - shop fame_shop -1,501:-1,502:-1,503:-1,504 prontera,156,168,5 script fame shop 123,{ query_sql "SELECT `fame` FROM `char` WHERE `fame`>0", .@fame; if (.@fame) { callshop "fame_shop"; }else{ dispbottom "you don't have fame points."; } end; } Edited June 26, 2021 by cook1e Quote Link to comment Share on other sites More sharing options...
0 Rizz Posted June 26, 2021 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 07/29/17 Last Seen: December 28, 2022 Author Share Posted June 26, 2021 On 6/25/2021 at 1:54 PM, cook1e said: Try this one. - shop fame_shop -1,501:-1,502:-1,503:-1,504 prontera,156,168,5 script fame shop 123,{ query_sql "SELECT `fame` FROM `char` WHERE `fame`>0 AND (`class`='10') ORDER BY `fame` DESC LIMIT 10", .@fame; if (.@fame) { callshop "fame_shop"; }else{ dispbottom "you don't have fame points."; } end; } Thanks for the response. I have tested it but the other class can access the shop Quote Link to comment Share on other sites More sharing options...
0 cook1e Posted June 26, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 171 Reputation: 68 Joined: 10/25/20 Last Seen: 19 hours ago Share Posted June 26, 2021 I have edited the post above, try Quote Link to comment Share on other sites More sharing options...
0 Rizz Posted June 27, 2021 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 07/29/17 Last Seen: December 28, 2022 Author Share Posted June 27, 2021 Other class still can access the shop Quote Link to comment Share on other sites More sharing options...
0 cook1e Posted June 27, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 171 Reputation: 68 Joined: 10/25/20 Last Seen: 19 hours ago Share Posted June 27, 2021 (edited) 18 hours ago, Rizz said: Other class still can access the shop Only Blacksmith/Whitesmith can open this shop, working for me. - shop fame_shop -1,501:-1,502:-1,503:-1,504:-1 prontera,156,168,5 script fame shop 123,{ query_sql "SELECT `fame` FROM `char` WHERE `fame`>0 AND (`class`='10' OR `class`='4011') ORDER BY `fame` DESC LIMIT 10", .@fame; if (.@fame) { callshop "fame_shop"; }else{ dispbottom "you don't have fame points."; } end; } Edited June 27, 2021 by cook1e Quote Link to comment Share on other sites More sharing options...
0 Rizz Posted July 3, 2021 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 07/29/17 Last Seen: December 28, 2022 Author Share Posted July 3, 2021 On 6/28/2021 at 2:33 AM, cook1e said: Only Blacksmith/Whitesmith can open this shop, working for me. - shop fame_shop -1,501:-1,502:-1,503:-1,504:-1 prontera,156,168,5 script fame shop 123,{ query_sql "SELECT `fame` FROM `char` WHERE `fame`>0 AND (`class`='10' OR `class`='4011') ORDER BY `fame` DESC LIMIT 10", .@fame; if (.@fame) { callshop "fame_shop"; }else{ dispbottom "you don't have fame points."; } end; } I have tested it, but it does not work on me, other class can access the shop. Thanks for helping. Quote Link to comment Share on other sites More sharing options...
Question
Rizz
Hi, I have a concept about a shop that can only be accessed by the top 10 Ranked Blacksmith. I would be grateful if someone would provide me the script or instruct me on how to make it. Thanks in advance.
Link to comment
Share on other sites
6 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.