MagicDuel Wiki
Advertisement

mds_location_visits

mds_location_visits - Gets the number of times that a player has visited a location.

Description

int mds_location_visits(string $location)

gets amount of times that a player has visited a location

Parameters

location
A location coordinate or the keyword 'current'.

Return Values

Returns a int value with the number of times that a player has visited a location.
Returns NULL if $location is invalid.

Examples

example #1

@vv = mds_location_visits('current');
echo "You have been here " .@vv ."times.";

 

example #2

@vv = mds_location_visits('1_0x0_1');
echo "You have been to the Gazebo of Equilibrium " .@vv ."times.";

See Also


Advertisement