mob/var/Strength=0
mob/Topic(mob/M)
usr<<browse(M.Lift,"window=Might;size=300x500")
mob/verb
Show_YourMight()
set category="Commands"
var/ShowSTR="<br>"
switch(input("Are you sure you want to show them your might?") in list ("Yes","No"))
if("Yes")
if(src.Strength>=0)
ShowPerkz+="[src]'s lift is [src.Strength*4]<br>"
for(var/mob/M in hearers(15))
usr.Lift=ShowSTR
M << output("[src] is showing their might <A HREF='#\ref[src]Topic'>Click Here</A>")
Problem description:
I want to beable to show lift in a window once the player hits the anchor. Only problem is even though it compiles when you hit the Click Me nothing happens. Yes I know you can just make it into an input, but it looks unattractive and can easily be spammed if I had more vars inside the ShowSTR var.
So I would think your query string should probably be in the form of "?src=\ref[src]&view=stats" or some such. Then in client/Topic(), you'd do this: