mob/player/verb/PressD()
usr << "Click <a href=?src=\ref[src];action=start>here</a>!"
mob
player
Topic(href , href_list[])
switch(href_list["action"])
if("start")
usr << "Starting the game..."
else
return ..()
Problem description:
Hello all viewers, so I've decided I want to use grids to catch the topic of a hyper link I place inside a cell.
I can catch the Topic when it automatically goes to the client and I can reroute the Topic to an object..... but I can't reroute and catch Topic at the same time, so I must be doing something wrong!
So I tried to use an example from the reference but it gave me the same error I was getting before, if someone can show me how to catch a topic when it is rerouted to a different object it will be appreciated, preferably without the need of a list!
Have no restraint in whipping me about what I'm doing wrong as-well O.o, thanks.
Heres the error:
runtime error: bad index
proc name: Topic (/mob/player/Topic)
source file: Dialogue.dm,51
usr: Jlxati (/mob/player)
src: Jlxati (/mob/player)
call stack:
Jlxati (/mob/player): Topic("src=\[0x3000000];action=start", /list (/list))
Check