Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Global chat

Solution ;Place the following script in all rooms in which you want people to be able to
;send messages to people in other rooms.
;An Owner/operator must be in the room and says "globalchat on" or "globalchat off"
;to enable/disable this function.
;Caution: When turned on, all text said in this room will be sent to all other rooms.
ON INCHAT
{
globalchat GLOBAL
{ WHOCHAT WHONAME ": " & CHATSTR & GLOBALMSG
} globalchat IF
}
ON OUTCHAT
{
globalchat GLOBAL
{
"$1" GREPSUB "n" == globalchat =
"" CHATSTR =
} CHATSTR LOWERCASE "globalchat o([fn]+)" GREPSTR
ISWIZARD AND IF
}
 
Was this article helpful? yes / no
Article details
Article ID: 220
Category: Room Scripts
Date added: 07-11-2011 20:10:40
Views: 426
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™