Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Move/Dress User not talking

Solution selene finds some fun one ;)


;Adds a prop to a user that hasn't talked in a specified number of minutes.
;Moves the user to a special room if the user has not spoken in a specified number minutes.
ON ENTER
{
icount GLOBAL
0 icount =
3600 ME SETALARM
}
ON OUTCHAT
{
icount GLOBAL
0 icount =
}
ON ALARM
{
icount GLOBAL
;-----------------------------------------------------
;Set times, prop and room to be sent to.
5 proptime = ;minutes before prop put on
7 movetime = ;minutes before moved
"alan" brbprop = ;prop to add
110 movetoroom = ;room to send person
;-----------------------------------------------------
icount ++
{
{ DOFFPROP } NBRUSERPROPS 9 == IF
brbprop DONPROP
} icount proptime == IF
{ "You were moved because you had not spoken in " movetime ITOA & " minutes." & LOGMSG
movetoroom GOTOROOM
} icount movetime >= IF
3600 ME SETALARM
}
 
Was this article helpful? yes / no
Article details
Article ID: 249
Category: Room Scripts
Date added: 07-26-2011 02:27:22
Views: 509
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™