Author Topic: [Scripts] Auto bank with sign and gamer tag  (Read 321 times)

0 Members and 1 Guest are viewing this topic.

TMDefender

  • Jr. Member
  • **
  • Posts: 13
    • View Profile
    • Awards
  • Xbox: TM Defender
[Scripts] Auto bank with sign and gamer tag
« on: December 01, 2016, 11:23:48 PM »
I want it to we're they press a button and it added two chest and a sign with there gamertag
TM Defender
 War,
war never changes

Muffin

  • Elite Member
  • *****
  • Posts: 533
  • Awards 2 years on site+300 posts 1 year on site+100 posts
    • View Profile
    • Awards
  • Xbox: RawrMeMuffinMan
Re: Auto bank with sign and gamer tag
« Reply #1 on: December 02, 2016, 08:19:41 AM »
Unless it was changed, a script placing down a locked chest will belong to nobody (not even the person who ran the script). You can get around this by making that gives a player a history and once they player has it, the next person will get a different history.
Ex.) chest1, chest1, ect

Once you have the history assignment done you can make a script that checks their history and opens a check for them.
Ex.)
Spoiler for Hidden Content:
Code: [Select]
1. If
2. HasHistory [chest1] [player] [true]
3. Then
4. Openblock [ chest x,y,z]
5. ElseIf
2. HasHistory [chest2] [player] [true]
7. Then
8. Openblock [different chest x,y,z]
9. ElseIf
...

http://prntscr.com/dqrw9s
The Gold Knight [08|Dec 09:11 PM]: I'm sorry, but I speak English... A language that has coherent thoughts that can be understood.

Kawika

  • Jr. Member
  • **
  • Posts: 43
  • Hawaii Life
    • View Profile
    • Master Work Build Team
    • Awards
  • Xbox: TM Kawika
  • Steam: poltergeist10
Re: Auto bank with sign and gamer tag
« Reply #2 on: December 02, 2016, 12:03:33 PM »
Unless it was changed, a script placing down a locked chest will belong to nobody (not even the person who ran the script). You can get around this by making that gives a player a history and once they player has it, the next person will get a different history.
Ex.) chest1, chest1, ect

I tested this the other day when my friend asked me to try it for him. It, in fact, does work now. I'll add that script to my directory and you can check it there! Only reason is, it's one not on there, and no use in writing it twice. The directory is in this section of the forums near the top, can't miss it.
Founder of Master Work Build Team

Fuertey

  • Elite Member
  • *****
  • Posts: 740
  • Keyboard not found. Press F1 to continue.
  • Awards Awarded to exemplary forum members 2 years on site+300 posts 1 year on site+100 posts
    • View Profile
    • Awards
  • Xbox: Fuertey
  • Steam: Fuertey
Re: Auto bank with sign and gamer tag
« Reply #3 on: December 02, 2016, 01:11:51 PM »
Seeing as you're having trouble using the search feature i'll help you. I'm nice like that.  :D

http://totalminerforums.net/index.php?topic=16940.msg176913#msg176913