cjswimmer
09-14-2006, 04:13 PM
In one of my scripts I submit a URL using cli_execute to drop the Teetotaler path after getting Stomach of Steel:
cli_execute("account.php?action=unpath&pwd&confirm=on");
cli_execute("status refresh");
but I cannot find a way to get Mafia to update the can_drink() and inebriety_limit() responses now that the path has been dropped other than logging in again (the status refresh command on line 2 doesn't do it).* Is there a specific Mafia command I should use to drop the path or refresh the player characteristics?
cli_execute("account.php?action=unpath&pwd&confirm=on");
cli_execute("status refresh");
but I cannot find a way to get Mafia to update the can_drink() and inebriety_limit() responses now that the path has been dropped other than logging in again (the status refresh command on line 2 doesn't do it).* Is there a specific Mafia command I should use to drop the path or refresh the player characteristics?