Hyperlink Problem in Developer Help
|
|
Code:
mob/var/GM=1 mob/var/CurrentSheet=""
mob verb Roleplay() var/RP = input("Roleplay") as null|message world<<"<font color=red>[RP]<br>([usr.name])" for(var/mob/M in world) if(M.GM==1) M<<"[usr.name]([usr.key]) Has posted an RP - <a href='?src=\ref[usr];Action=Check'>View Here</A>!"
mob/proc View_RP() set category = "Journal Commands" var/RPHTML = {"<Title>Personal Journal -</Title> <Body BGColor = #0000000 Text = #000000 link =" #C0C0C0" vlink = "#C0C0C0" alink = "#C0C0C0" Scroll = No> <Table Border = "4" Width = "100%" BGColor = "#333333" CellSpacing = "0" CellPadding = "5" BorderColorLight = "#666666" BorderColorDark = "#333333"> <Tr> <Td Width = "100%" Colspan="2"> <Center><Font Color = "#C0C0C0">Personal Journal </Td> </Tr> </Table> <BR> <Table Border = "4" Width = "100%" BGColor = "#FFFFFF" CellSpacing = "0" CellPadding = "5" BorderColorLight = "#666666" BorderColorDark = "#333333"> <Tr> <Td Width = "100%" Colspan="2"> <Center>[src.CurrentSheet]<BR><BR><HR Width = 75%><BR>Current Entry </Td> </Tr> </Table> <BR> "} usr << browse(RPHTML,"window=Roleplay")
mob/Topic(href,list[],href_list[]) var/Pop = href_list["type"] switch(list["Action"]) if("Check") usr.View_RP() return
|
Problem description:
I need help on completing a Hyperlink, you see Im trying to help on an RP game and I want it so when a person finishs writing an rp and sumbits it, the GM is alerted and a message along with a hyperlink pops up the hyper link will then take them to the player's rp in a serperate pop up window....but as you can see its not working, can anyone help?
|