mob
verb
pm(mob/m in world)
worldPM(usr,m,"Hello Friend")
usr.userPM(m,"Hello Friend")
proc
worldPM(mob/sender,mob/recipient,msg)
sender << "[sender] : [msg]"
recipient << "[sender] : [msg]"
mob
proc
userPM(mob/recipient, msg)
src << "[src] : [msg]"
recipient << "[src] : [msg]"
I was just wondering what was the better coding practice, in this case using the global pm or the mob defined pm, and when should i make the distinction of favoring one over the other.
thanks ahead...