Advertisement
BaneOfSmite

Untitled

Jan 3rd, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. every 1 minutes:
  2. set {_url} to "https://hosts.uhc.gg/api/matches/upcoming"
  3. replace all "§" in {_url} with "&"
  4. send a request to {_url} with headers "User-agent: postbot69420"
  5. map json last http response's body to {jsonmap::*}
  6. if {jsonmap::*} is set:
  7. loop {jsonmap::*}:
  8. if {jsonmap::%loop-index%::ip} contains "62.210.77.183" or "139.99.4.213" or "167.114.209.167" or "2donkeys.net":
  9. ...................
  10. else if {jsonmap::%loop-index%::address} contains "62.210.77.183" or "139.99.4.213" or "167.114.209.167" or "2donkeys.net":
  11. ..........................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement