Advertisement
Ubicana

re-remove auction

Jan 22nd, 2020
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  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]```]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement