Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   PlayerWorlds Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=15)
-   -   Pms from server (https://forums.graalonline.com/forums/showthread.php?t=60654)

excaliber7388 08-23-2005 06:11 PM

Pms from server
 
How do you make the NPC server send a PM to players when they log on?

raiden0899 08-23-2005 11:39 PM

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.

excaliber7388 08-24-2005 02:55 AM

:D thanks


All times are GMT +2. The time now is 02:41 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.