ID:262102
 
var/image/I = image('s_smileys.dmi',iconstate = "grin")

var/const/help = {"
<html>
<head><title>DohChat</title></head>
<body>

<center><font size = 5><b><font color =#FF8C00>Welcome to DohChat!</font></font></b></center><br><br>I hope you have a fun time chatting!To view this help again type in " help " in the pink box,without say" there.<br><br>

<b><font size= 4><u>Commands:</u></font></b><br>
All the commands are pretty much explainable of what they do by their names.What ever color the verb name is,is the color it appears as in the game when used.The verb name is in black if it has no color when used.<br><br>
<b><font color="green">Say</font></b> is used to talk to the others in the game.<br><br>
<b><font color="blue">Whisper</font></b> is used to talk to someone individually in the game.<br><br>
<b><font color="black">Show Code</font></b> is used to show a piece of coding to the people in the game.<br><br>
<b><font color="aqua">Play music</font></b> is used to play midi's or wavs.<br><br>
<b><font color="black">Send File</font></b> is used to send a file to someone in the game.<br><br>
<b><font color="green">AFK</font></b> is used to show that you went Away from your keyboard.<br><br>
<b><font color="red">Roleplay</font></b> is used to act something out in Words.<br><br>
<b>Who</b>(White in game.Cant use white here or it wont show up.) is used to see whos in the game.<br><br>
<b><font color="black">Create Room</font></b> is used to create a room to chat in.To get your room registered,ask a Room Admin.<br><br>
<b><font color="black">Join</font></b> is used to join a current room.<br><br>

<b><font size= 4><u>Rules:</u></font></b>:<br>
Simple rules,just follow them and all will be happy.<br><br>
<b>Rule 1:</b>Dont make anyone unhappy in anyway.We want all players to be happy.<br><br>
<b>Rule 2:</b>Dont curse,use racial slurs,or sexual slurs.<br><br>
<b>Rule 3:</b>Dont beg for Admin cause you will not get it.Only certain people who play this alot will get admin if I decide to give out Admin.<br><br>
<b>Rule 4:</b>Obey these rules and any rules the admins have.<br><br>
<b>Rule 5:</b>Dont mute avoid and if you get booted for a reason,dont do the same thing over or it will result as a ban.<br><br>
<b>Rule 6:</b>Be glad that the host is hosting so you can play.<br><br>
<b>Rule 7:</b>When playing a song you <i>must</i> press Yes or No eventually or you will be in trouble.<br><br><br><br>

This should be basically all the help you need.If you need more ask me,XxDohxX,an admin,or another player.
Thanks for reading this help file and playing my game!<br><br>
PS:I am going to add a smiley chart system in this help file soon!


TEST:
[I]
</body>
</html>
"}

client/verb/help()
set hidden = 1
usr << browse(help,"window=help")


Error:
Help.dm:3:error:= :constant initializer required

Any help is greatly appreciated.


--XxDohxX
You can't use "[blah]" in variables that are set at compile time. There's nothing to set them to. Set the value of your variable at runtime somewhere where it's appropriate.
In response to Jon88 (#1)
Well I Cant figure out how to do what I am trying to do...
In response to Dalga Productions (#2)
Remove the
TEST:
[I]

and when you're browsing, use
browse(help + "<br>TEST<br>[I]", window="whatever")
In response to Garthor (#3)
Hm... I have to help the idea stealer. But oh well. First, when you got the constant initializer required, when you had var/const take out the const and just go from there, it should fix it. IDEA STEALER!

~H
In response to Hirishimo90 (#4)