Saturday, August 20, 2011

Customized Classified and Trading messages

Classified and Trading room messages allow commands for automatic card replacement. In a nutshell, you can use special commands such as cardnames and prices to enrich the board messages and tell the customers what specific cards are you selling or buyuing. The syntax for a general command is #command#, where the two '#'s embrace the command and 'command' is a specific string containing the command. Commands are case-insensitive.

#sell# #buy# #R#
The basic commands are #sell# and #buy# that display a randomly chosen card and its price - respectively the selling value and the buying value. You can also use #ZEN_buy# or #ALA_sell# to force a set (in these cases Zendikar and Shards of Alara). To force a rarity, issue a command like #ZEN_R_buy# or #ALA_U_sell# (the keywords for rarity are M/R/U/C). You can force a rarity even not forcing a set, like: #R_buy# or #U_sell#

#2digits# #1digit#
To choose the number of the decimal digits to be shown in price, use the keyword '2digits' or '1digit'. If not specifies, the bot will automatically use '3digits'. The price will be shown respectively as [12.12], [12.1] and [12.123].

#>0.7# #<2.5# #foil#
To impose bounds on the prices, use the command '>0.7' or '<1.25' right after 'buy' and 'sell', for instance #ZEN_R_buy_>2.5#. To specify a foil price, use the tag 'foil', such as #ZEN_U_foil#. If not specified, the replacement occurs only with regular non-foil cards.

#cardname#
Every combination of commands is possible. For instance, you can issue commands like #R_buy#, #M_sell# or #FUT_C_buy_2digits#. You can also quote specific cards, such as #ALA_Manaplasm_sell#. In this case, the syntax obliges you to specify the set (in this case ALA)

There are many other commands, to learn more please take a look at the manual (here).
Here you are a short summary:




No comments:

Post a Comment