ID:146864
 
mob
verb

Tell()
set name = "tell"
set hidden = 1
reciever = input("Who are you sending this private message to?","Private Message Reciever")as mob in world
reciever_text = input("What will this private message say?","Pivate Message")as text
usr << "You tell <a href=?reciever>[reciever]</a>: [reciever_text]"
reciever << "<a href=?you>[src]</a> tells you: [reciever_text]"
client/Topic(href)
if(href == "reciever")
reciever_text = input("What will the private message say?","Private Message")as text
reciever = src
usr << "You tell <a href=?reciever>[reciever]</a>: [reciever_text]"
reciever << "<a href=?you>[src]</a> tells you: [reciever_text]"
if(href == "you")
your_text = input("What will the private message say?","Private Message")as text
reciever = src
usr << "You tell <a href=?reciever>[reciever]</a>: [your_text]"
reciever << "<a href=?you>[src]</a> tells you: [your_text]" </DM


I need this code seriously fixed... I can't figure it out...
"you" and "reciever" isn't enough information for you to use in Topic(), you should give information to WHO clicking that link will 'Tell' to. Also, when you use client.Topic(), src is always the person who CLICKED the link. If you use the 'src' paramiter in the link, and assign a pointer, client.Topic() will be called for the person who clicked it, and datum.Topic() will be called for whomever the 'src' paramiter points to. Here's an example. I'm not going to correct your code, I'm going to show you th ecorrect way to use Topic()...
mob/verb/lookat(O as obj in view())
src << {"<a href="?src=\ref[O]&loc=\ref[loc]">Click here</a> to look at [O]."}

client/Topic(ref, params[], Src)
src << "You are looking at [Src] from [locate(params["loc"])]..."

obj/Topic(ref, params[])
usr << "[src] looks like a blob of paint."
This once you use the 'lookat' verb on an object, it should do the following...

1. Show the link to the player.
2. Once they click the link, it will first call...
client.Topic("src=[0x3000000]&loc=[0x2000000]", list("src" = "[0x3000000]", "loc" = "[0x2000000]"), the obj)
Keep in mind, the [0x#######] will most likely be different.
3. The user sees the text, "You are looking at the obj from the turf..."
4. The object.Topic() will be called like this...
object.Topic("src=[0x3000000]&loc=[0x2000000]", list("src" = "[0x3000000]", "loc" = "[0x2000000]"))
5. The user sees the text, "The obj looks like a blob of paint."

Look up the \ref text macro. To get the object that it returns, use locate(). Also note that the brackets in [0x#######] aren't showing an embedded expression, thoes are literals. \[0x#######\]