- Joined
- Feb 22, 2008
- Messages
- 2,404
- Reaction score
- 724
Here in this video you can see it in action: (this video is about another thing, but the window I want to show you is here, so I didnt want to record a new video just to show the window...)
Lets learn how to do that:
First, open your hotuk and add this 2 lines: (if non-existing)
Now, in your IIS wwwroot folder, create notice.asp and write in it:
In the same folder of the asp file, create a notice.txt and place any text you want.
Everytime any player login, that window will pop up.
PS: Change 255.255.255.255 with your host's WAN ip
You must be registered to see links
Lets learn how to do that:
First, open your hotuk and add this 2 lines: (if non-existing)
Code:
*NOTICE_URL "http://255.255.255.255/notice.asp"
Now, in your IIS wwwroot folder, create notice.asp and write in it:
Code:
<% 'Written by Sandurr
Dim gFileSystemObject, gFile
Dim strMenu, strNews, strSplit
strSplit = Chr("&H"& "0D")
Set gFileSystemObject=Server.CreateObject("Scripting.FileSystemObject")
Set gFile=gFileSystemObject.OpenTextFile(Server.MapPath("notice.txt"), 1)
Do While gFile.AtEndOfStream = False
strNews = strNews & gFile.ReadLine
Loop
gFile.Close
Set gFile=Nothing
Set gFileSystemObject=Nothing
Response.Write("Code=1 Txt=" & strNews & strSplit)
%>
In the same folder of the asp file, create a notice.txt and place any text you want.
Everytime any player login, that window will pop up.
PS: Change 255.255.255.255 with your host's WAN ip
Last edited: