Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## PUT YOUR CHARACTER ID HERE ###
- $charId = "abc"
- $codes = @("LYFA89K", "YF6DDNQ", "YHGZZFV", "EJIBICR", "X854Z2G", "XW1U1Q8", "7Q1JFLK", "5DGOW9F", "AXYIRDO", "WHN33KA", "OMQTPXW", "L3YR8JO", "NLJTXVS", "AJI6UZA", "NRAFN4U", "H1I7C0O", "DNLZFJT")
- foreach($code in $codes){
- $url = "https://al.rastargames.com/api/giftExchange.php?roleId=$($charId)&cdKey=$($code)"
- $reply = Invoke-WebRequest -Uri $url -Method POST
- $json = $reply.Content | ConvertFrom-Json
- Write-Host "$($code): $($json.msg)"
- }
Advertisement
Add Comment
Please, Sign In to add comment