Jump to content
  • 0

Modifying @whosell Command


Metisma

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   3
  • Joined:  03/09/12
  • Last Seen:  

Hello,

I am looking to modify my existing @whosell command. Right now the command displays the shop with the lowest price available.

 

What I need is to add another filter to the @whosell command. I want to add a "minimum price" filter..

 

example:

 

@whosell Poring Card <minimum price>

 

Would work like 

 

@whosell Poring Card 35000

 

so if a shop has  a poring card selling for 30,000 the shop would not appear on whosell. 

 

I want the filter to be optional and not required

(I need this command filter because my server uses a custom vending system which allows people to purchase using items for certain shops, such as 100M Zeny Bags instead of cash zeny so if a merchant has 1 Poring Card selling for 1x 100M Zeny bag and someone for 30,000 Cash Zeny, the 100M Zeny bag shows as the cheapest price)

 

I am willing to pay for this source modification. You can PM me if interested.
 

To view the current @whosell script please follow this link:
http://pastebin.com/x4yrBQHd

Edited by Metisma
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

12 minutes ago, Asela said:

This will do what you want. http://pastebin.com/5Kwt41h6

Thank you for the share! i appreciate it.

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