Advertisement
Guest User

Untitled

a guest
Jan 21st, 2012
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. # To charge for a command, list a matching regular expression below on its own
  2. # line with the price, separated by a colon. For more info on regular expressions
  3. # see http://www.regular-expressions.info/reference.html
  4. #
  5. # ^/tp: 10
  6. # To add a multiplier to a command like /i or /give so it charges for every item not for the whole command:
  7. # ^/give stone 10(amount)(?:/give \w+ )\d+: 10 will cost 10*10=100
  8. # (?:<regex>) is a noncapturing group, so it will be included in the match but will not alter the returned amount
  9. ^/help :10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement