Hey guys, I've made cell phones in my modern-day MUD, and they work great as it is...but I was thinking it'd be neat if each player was assigned a random 7 digit number, and you had to have the number to call them...I'm thinking that chars can be assigned this number at creation, and the chars that already exist can use a command like 'assignphone' or something like that. The only problem here is making sure no duplicate numbers are used. To do this I was thinking that the numbers could be saved into a separate file, matching numbers with names. This file could then be scanned for numbers that match the random # generated, to make sure that no duplicates were assigned. But I'm just a newbie that gets by with copy/modify other functions, so I have no idea what to do. Any help would be appreciated greatly.
Thanks, Zack Drug Wars MUD, dwmud.ods.org 2528 http://fly.to/dwmud

