I need to know how I would go about making a tag verb. It would be available only to the user who is "it" and would make another player "it". The user of the verb would have to be next to the target mob. Sorry about this. I am a complete n00b.
Also, is it possible to change the person who is "it" when the current "it" logs off without tagging anyone?
ID:261702
Jan 5 2003, 1:36 pm
|
|
In response to Dude-san
|
|
I'm not really sure but here goes:
var/it //defin a variable for tha tagger Hope that works! lolz |
In response to Weedman
|
|
Even better:
mob |
i've tried a tag game before and to fix that error you get when compiling you need to change the word "tag" to something else. i used tag_player when i did it.
|
In response to Garthor
|
|
Thanks so much. That helps a whole lot.
|
In response to Dude-san
|
|
Oh, wait. I need to implement a "Newcomer's it" rule. I try, but I can't seem to get the user who just logged in to get the tag command. Can anyone help? I've tried using 'usr.it = 1', 'src.it = 1', and 'it = 1' in my Login() proc.
|
In response to Dude-san
|
|
Nevermind, fixed it. =)
|
tag(mob/M as mob in oview(1))
usr << "You tagged [M]!" oview() << "[usr] tags [M]!" world << "[M] is it!"
As you can see, I need the actual "it" passing code in there. Plus I get this error when I try to run and compile:
tag: duplicate definition (conflicts with built-in proc)
Being the newbie that I am, I don't know what any of the built-in procs are, much less which one my tag verb conflicts with.