Sharpjaws / SharpSK

An addon for Skript that adds lots of features and other features from your favourite plugins to skript. Supports 1.8 up to 1.12
https://forums.skunity.com/resources/72
MIT License
8 stars 12 forks source link

WorldGuard flag error #43

Open Alontrle opened 6 years ago

Alontrle commented 6 years ago

Server info: http://i.prntscr.com/KZ8KHn9JQZeVYedE-_PLkA.png Error: When I am pulling the flag from a region I cannot specify the world with a variable. `` set {_blockBreak} to value of flag "block-break" of region "%{_region}%" in world {_world} This doesn't throw any errors, but it acts like I put a stop statement in.

set {_blockBreak} to value of flag "block-break" of region "%{_region}%" in world "%{_world}%" This throws an error http://i.prntscr.com/Em1L4DwJQJayl12BGUy0oA.png

set {_blockBreak} to value of flag "block-break" of region "%{_region}%" in world "Prison" This works but I need cross-world compatibility, I've tried with and without the world before the world string spot.``

Here is my code: https://hastebin.com/xumilosota.vbs if you want the rest of the code I have (other files) I can send it, I don't think you need it but I can do that in private messages of sorts.