Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- id: 'Waymarks on Wipe',
- regex: /^\[.{13} 21:(.+?):40000010:.+$/,
- run: () => {
- const waymarks = {
- A: { ID: 0, Active: true, X: 113.205452, Y: 0, Z: 113.065048 },
- B: { ID: 1, Active: true, X: 86.7056351, Y: 0, Z: 113.476143 },
- C: { ID: 2, Active: true, X: 80.15536, Y: 0, Z: 100.430984 },
- D: { ID: 3, Active: true, X: 119.904648, Y: 0, Z: 100.210732 },
- One: { ID: 4, Active: true, X: 113.131271, Y: 0, Z: 86.8205261 },
- Two: { ID: 5, Active: true, X: 86.8566, Y: 0, Z: 86.8325653 }
- }
- fetch('http://localhost:1200/place', {
- method: "POST",
- headers: { "Content-Type": "application/json" },
- body: JSON.stringify(waymarks)
- });
- }
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement