ID:782771
 
(See the best response by Stephen001.)
Code:


Problem description: I been thinking of making a guide for my game like a one when you sign in it will automaticly show you a Guide of how to play mind giving me a example please? or a lib?

var/GUIDE={"GUIDE
<html>

//TEXTS<br>

</html>
"}


mob/proc/GUIDE_Display()
var/html="<body bgcolor=black><font color=red><b><u></b></u>[GUIDE]</font></body>"
src << browse(html,"window=Stats;size=400x380") // Controls the size of the box.

mob/verb/View_GUIDE()
set hidden = 1
src.GUIDE_Display() // Display it when someone clicks the command


Put GUIDE_Display() On your Login Proc
Thanks
Best response
I would probably recommend reading the guide from file instead. Aside from letting you update the guide while the world is running, it means you don't have what could potentially be quite a big reference of material embedded within your DMB.

mob/proc/GUIDE_Display()
var/html = file2text("doc/guide.html")
src << browse(html,"window=Stats;size=400x380") // Controls the size of the box.

mob/verb/View_GUIDE()
set hidden = 1
src.GUIDE_Display() // Display it when someone clicks the command


So in this example, it is expecting a guide.html file under the "doc" directory, next to your DMB file. You can use DreamMaker to bundle this stuff together with the "additional files" option.
Thanks i made a webpage with DreamWeaver it worked