Pazleysox
Member
Code:void main() { string log = visit_url("clan_raidlogs.php"); string [int] drove; foreach place in $strings[some werewolves out of the forest, some bugbears out of the forest, some vampires out of the castle, some skeletons out of the castle, some zombies out of the village, some ghosts out of the village] { drove = split_string(log, place); if(count(drove) > 1) print("Drove " + place+ " " + (count(drove) - 1) + " times."); else print("Didn't drive " + place); } }
So, while messing around with this script, I can now figure out if an area has had monsters driven out 1, or 2 times. This makes the banish script that much better. I need to now figure out which one the player adventured in.