Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Fri Jan 12, 2024 10:17 pm
Is there a way of programmatically knowing if the map is synced? |
Is there a way of programmatically knowing if the map is synced? I hoped (%walkconfirm = 1) would do it, but that only works if you used the map to speedwalk somewhere. When I move normally and the map detects the next room and sends the #OK, that's what I want to know: does the map know where it is, or is it lost? I'm thinking maybe I need to check if there's nothing on the queue, i.e. check that (%lastdir = ""), although that would still be the case if the map was off, so it's not ideal.
Essentially what I want to do is, if the map is synced to the correct mud location, then set the %roomnum from GMCP and %roomload(, 8). |
|