Create a free account to remove all ad content.

Author Topic: [Game] Scripts  (Read 271 times)

0 Members and 1 Guest are viewing this topic.

tennycartoon

  • Fresh Meat
  • *
  • Posts: 8
    • View Profile
  • Xbox: tennycartoon368
Scripts
« on: January 02, 2018, 08:39:41 AM »
How do you script atol maket so when you pay for a privet mine upgraded it upgraded for you without the host and takes money so how you script privet mine upgrades.
Follow me xbox or be my friend gamertaf tennycartoon368 and follow me on instagram at rooker.alex21 and do anyone know how to make a staff with mod menuHow or just mod menuHow. And how to script mine rush

cY Agent 115

  • Sr. Member
  • *
  • Posts: 364
  • Death to trolls on the forums
    • View Profile
  • Xbox: cY Agent 115
  • Steam: cY Agent 115
Re: Scripts
« Reply #1 on: January 02, 2018, 09:12:19 AM »
Are you talking about private mine upgrades? a generic way to do it would be the transaction script followed by the action so for instance:

If
HasInventory [player] [goldpieces] [<] [<No. of Goldpieces>]
Then
Notify [local] [60,60,60] [You have insufficient funds]

ElseIf
HasInventory [player] [goldpieces] [=>] [<No. of Goldpieces>]
Then
History [Rank] (if you have them)
Inventory [player] [goldpieces] [take] [<No. of Goldpieces>]
SetRegion [x,y,z] [x,y,z] [<the rock you're using>] [100]

SetRegion [Same x,y,z] [Same x,y,z] [<the first ore you're using>] [40]

SetRegion [Same x,y,z] [Same x,y,z [<the the rarest ore you're using>] [20]


Hope that helped, a reply this time would be helpful

bob

  • Administrator
  • Legendary Member
  • *
  • Posts: 1583
    • View Profile
Re: Scripts
« Reply #2 on: January 02, 2018, 02:13:10 PM »
So I guess you didn't learn to stop posting the same topic repeatedly after the last vacation. I guess we'll make it 7 days this time so you can think it over a little more.