SHARE
TWEET

re-remove auction

Ubicana Jan 22nd, 2020 287 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $onlyIf[$getVar[number]!=1;> **Empty value**
  2. There is no any available auctions at this moment. But, you can create an auction by using `re-create auction` command.]
  3.  
  4. $onlyIf[$message!=;> **Command usage**
  5. ```re-remove auction <auction_position>```]
  6.  
  7. $onlyIf[$isNumber[$message]==true;> **Wrong argument**
  8. The argument must be a number, means auction's position.]
  9.  
  10. $onlyIf[$message[<]<=20;> **Number exceeded**
  11. The auction's position can't be greater than 20.]
  12.  
  13. $onlyIf[$getServerVar[$message[<]]!=;> **Empty value**
  14. This is an emtpy position, you can't remove it. But, you can grab it now by using `re-create auction` command.]
  15.  
  16. $textSplit[$getServerVar[$message];`]
  17. $onlyIf[$getVar[author;$authorID]==$splitText[8];> **Wrong author**
  18. You can't remove this auction, this is because you are not its creator.]
  19.  
  20. $setVar[author;$username;$authorID]
  21.  
  22. $setVar[$message;]
  23.  
  24. $setVar[number;$sub[$getVar[number];1]]
  25.  
  26. $nomention
  27.  
  28. $title[Removed Auction]
  29. $color[e5b1fa]
  30. $addField[Auction Position;```#$splitText[2]```]
  31. $addField[Item;```$splitText[4]```]
  32. $addField[Startbid;```$splitText[6]```]
  33. $addField[Creator;```$splitText[8]```]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top