heres some various buddy stuff i have:
mob/var/list/buddies
mob
verb
Add_Buddy(mob/M as mob in view())
set category = "Buddy"
buddies.Add(M)
Remove_Buddy(mob/M in buddies)
set category = "Buddy"
buddies.Remove(M)
Buddy_Say(mob/M in buddies, msg as text)
set category = "Buddy"
M << "\blue[usr] buddy-says: [msg]"
It doesn't work though...none of it.
so plz help me
ID:267879
Nov 28 2003, 4:23 pm
|
|
Nov 28 2003, 4:31 pm
|
|
In response to Airjoe
|
|
You don't need those IF's.
Siientx |
In response to Siientx
|
|
It's always safe :-)
|
One major issue strikes me here: It's very unlikely you'll want to use mobs in your buddy list. Rather, you should use keys. If you need access to the mob itself when that player is present, make the list associative.
Lummox JR |
In response to Airjoe
|
|
well, it still doesn't work
|