ID:917526
 
Keywords: help, popup, variable, window
(See the best response by NNAAAAHH.)
Code:
var/popup={"
<STYLE>BODY {background: black; color:
[usr.chosen_color]} IMG.icon {width: 32px; height: 32px}</STYLE>
>html>
<head>
<br>\icon
[usr]
</html>
</head>
"}


mob/verb
PopUp()
usr<<browse(popup,"window=popup")


Problem description:
I would like to create a pop up window which has variables and variables that can be edited by the player, but i keep getting the error undefined variable. I just don't know what to use. The code above is just a little bit without all the html and variable's

If anyone can suggest any new ways to go about it it will be most appreciated ^_^
Best response
You're defining usr outside of a verb
mob/verb
Popup()
var/popup=
O ye :O i forgot, thank you ^_^
No problem.