Jump to content
  • 0

R> Ranked Blacksmith shop


Question

Posted

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.

6 answers to this question

Recommended Posts

  • 0
Posted (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 by cook1e
  • 0
Posted
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 ?

 

 

  • 0
Posted (edited)
18 hours ago, Rizz said:

Other class still can access the shop ?

ssss.jpg.781a66c2d5c3784962a515ded3c6af20.jpg

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 by cook1e
  • 0
Posted
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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...