Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local current = 0 --0 is special areas on, 1 is off
- local switchTo = 0
- while (true) do
- for i = CREATURES_LOW, CREATURES_HIGH do
- local c = Creature.GetFromIndex(i)
- if (c:Name == "Grim Reaper" and c:isOnScreen()) then
- switchTo = 0
- else
- switchTo = 1
- end
- end
- if (switchTo ~= current) then
- if (switchTo == 0) then
- loadSettings("RPYG - Special Areas ON", "Special Areas")
- else
- loadSettings("RPYG - Special Areas OFF", "Special Areas")
- end
- current = switchTo
- end
- wait(500)
- end
Advertisement
Add Comment
Please, Sign In to add comment