ID:169855
 
I'm trying to make a popup window appear at login, so peaple can better see Info about the game/Rules. Almost everey Byond game has them, but yet I can't seem to find info on how to set one up, can someone tell me the basic codeing to create a popup window at login?
The browse() procedure might work. Simply write your help/game information into a text file, format it with markup, and save it. On login, put in a line that says
src << browse(helpfile)
Replacing helpfile with the path to YOUR helpfile, of course.
var/html_login_msg={"<html><body>
Whatever
</body>
</html>"}


client/New()
..()
src<<browse(html_login_msg,"window=loginwindow")
In response to PirateHead
ok ty.
In response to Zoltor
type this in the coding after they log in:

alert("Message you want it to say. you may edit this.")