Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > get_mobile_by_num

API Function: get_mobile_by_num

Summary:
find a mobile by number

Defined In LPC Object:
/usr/common/sys/mobiled.c

Prototype:
object get_mobile_by_num(int mobile_number)

Can Be Called By:
System, Common, Game

Description:

Queries MobileD for a mobile number. If a mobile of that number exists, it is returned.

Return Value:

The mobile, or nil if the number isn't assigned.

Errors:
Normally none.

See Also:
add_mobile_number , remove_mobile