Advertisement
Guest User

Paisley Park Cactbot Trigger

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