Ok i have 2 questions. First one is how would i make it so when someone put something in chat that started with ! it does something, ive seen in done in TextMUD 2.0 with !roll 1d4 and stuff like that. How do i do that?
Seccond is, i used this code to check to see who is hosting and give them special verbs.
client/New()
if (!src.address || (src.address == world.address))
usr.verbs+= /mob/proc/note2
usr.verbs+= /mob/proc/DisableWarnings2
usr.verbs+= /mob/proc/EnableWarnings2
usr.verbs+= /mob/proc/ChangeServerName2
usr << "Welcome on [OP], thank you for hosting a server!"
OP = "[usr]"
..()
else
.=..()
I thought that would work, but it doesnt. what did i do wrong?
ID:179121
Feb 15 2002, 4:02 pm
|
|
It gets long and tends to be complicated, but generally that's how you do it :o)