Thread: Pms from server
View Single Post
  #2  
Old 08-23-2005, 11:39 PM
raiden0899 raiden0899 is offline
Registered User
raiden0899's Avatar
Join Date: Oct 2004
Posts: 192
raiden0899 is on a distinguished road
Put this in the Control-NPC:
NPC Code:
if (actionplayeronline) {
sendpm message;
}


HTML and message codes can be used in the message. Here's a few examples:
Background Color: <body bgcolor=color>put everything in the message here</body>
Font Color: <font color=color>text</font>
Scrolling Text: <marquee>text</marquee>
Next Line: #b
Player's Account: #a
Player's Nick: #n

Here's a small script to get you started:
NPC Code:
if (actionplayeronline) {
sendpm
<body bgcolor=black>
<font color=red>
Hello #n! Welcome to:#b
<marquee>Dark Rival</marquee>#b#b
News:#b
put your server's news here#b#b
Hirings:#b
put stuff about hirings here#b#b
Rules:#b
put your server's rules here#b
-Excaliber (Manager)
</font>
</body>; Don't forget this semi-colon
}


If you need any help understanding this, I'll be on AIM. My screen name is wassup4010.

Last edited by raiden0899; 08-24-2005 at 03:06 AM..
Reply With Quote