ID:856237
 
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?
You never set the CurrentSheet variable. Also, you aren't closing half of your HTML tags.
I know but is there some way you could redo it to make it work to my liking possibly even from scratch cause, I like to learn from others, I feel like if I learn a bit more I wouldnt run into any more problems like this.