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

0 Members and 1 Guest are viewing this topic.

tennycartoon

  • Fresh Meat
  • *
  • Posts: 8
    • View Profile
    • Awards
  • Xbox: tennycartoon368
[Game] 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
  • Awards 2 years on site 1 year on site
    • View Profile
    • Awards
  • 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: 1519
  • Awards Award for outstanding excellence in the field of bob 5 years on site 4 years on site 3 years on site 2 years on site Was in the top 10 of the forum stats page as of 4/12/15 Members who have unlocked the robotic avatar 1 year on site Day 1 w/25+ posts (4/12/13)
    • View Profile
    • Awards
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.