Create a free account to remove all ad content.

Author Topic:  Rank up then sell the block for more  (Read 502 times)

0 Members and 1 Guest are viewing this topic.

AlcoholicPepper

  • Jr. Member
  • *
  • Posts: 33
  • Jeff McNewmen is my best friend ^_^
    • View Profile
    • http://www.google.com/imgres?imgurl=https://upload.wikimedia.org/wikipedia/commons/5/5b/India_Gate_600x400.jpg&imgrefurl=https://commons.wikimedia.org/wiki/File:India_Gate_600x400.jpg&h=400&w=600&tbnid=0y1XPiiVlVw42M:&docid=_t1Cy8oOVSs
  • Xbox: AlcoholicPepper
Rank up then sell the block for more
« on: November 20, 2015, 02:51:44 AM »

If
HasHistory [Rank\5] [player] [true]
HasInventory [player] [dirt] [>=] [1]
Then
Inventory [player] [take] [dirt] [1]
Inventory [player] [add] [GoldPieces] [60]
Notify [Sale successful.] [local]
ElseIf
HasHistory [Rank\4] [player] [true]
HasInventory [player] [dirt] [>=] [1]
Then
Inventory [player] [take] [dirt] [1]
Inventory [player] [add] [GoldPieces] [50]
Notify [Sale successful.] [local]
ElseIf
HasHistory [Rank\3] [player] [true]
HasInventory [player] [dirt] [>=] [1]
Then
Inventory [player] [take] [dirt] [1]
Inventory [player] [add] [GoldPieces] [40]
Notify [Sale successful.] [local]
ElseIf
HasHistory [Rank\2] [player] [true]
HasInventory [player] [dirt] [>=] [1]
Then
Inventory [player] [take] [dirt] [1]
Inventory [player] [add] [GoldPieces] [30]
Notify [Sale successful.] [local]
ElseIf
HasHistory [Rank\1] [player] [true]
HasInventory [player] [dirt] [>=] [1]
Then
Inventory [player] [take] [dirt] [1]
Inventory [player] [add] [GoldPieces] [20]
Notify [Sale successful.] [local]
ElseIf
Then
Inventory [player] [take] [dirt] [1]
Inventory [player] [add] [GoldPieces] [10]
Notify [Sale successful.] [local]
Else
Notify [You don't have any dirt to sell] [local]
/upload.wikimedia.org/wikipedia/commons/5/5b/India_Gate_600x400.jpg&imgrefurl=https://commons.wikimedia.org/wiki/File:India_Gate_600x400.jpg&h=400&w=600&tbnid=0y1XPiiVlVw42M:&docid=_t1Cy8oOVSsiMM&ei=xrQKVq6kGcj8yQSNh4qABw&tbm=isch&client=safari&ved=0CB8QM

AlcoholicPepper

  • Jr. Member
  • *
  • Posts: 33
  • Jeff McNewmen is my best friend ^_^
    • View Profile
    • http://www.google.com/imgres?imgurl=https://upload.wikimedia.org/wikipedia/commons/5/5b/India_Gate_600x400.jpg&imgrefurl=https://commons.wikimedia.org/wiki/File:India_Gate_600x400.jpg&h=400&w=600&tbnid=0y1XPiiVlVw42M:&docid=_t1Cy8oOVSs
  • Xbox: AlcoholicPepper
Re: Rank up then sell the block for more
« Reply #1 on: November 20, 2015, 02:52:19 AM »
Till me if it works

Thanks
/upload.wikimedia.org/wikipedia/commons/5/5b/India_Gate_600x400.jpg&imgrefurl=https://commons.wikimedia.org/wiki/File:India_Gate_600x400.jpg&h=400&w=600&tbnid=0y1XPiiVlVw42M:&docid=_t1Cy8oOVSsiMM&ei=xrQKVq6kGcj8yQSNh4qABw&tbm=isch&client=safari&ved=0CB8QM