Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


BRB Script

Solution Scripts Music Images WWW Tweaks/How to's Server & Programs Voice Sound PChat Security Contact Us Us

Hover mouse on each icon for information

;Alan's inactivity timer script
;Moves a user to a special room if he/she has not spoken in X minutes.
ON ENTER
{
inactivecount GLOBAL
0 inactivecount =
3600 ME SETALARM
}
ON OUTCHAT
{
inactivecount GLOBAL
0 inactivecount =
}
ON ALARM
{
inactivecount GLOBAL
;-----------------------------------------------------
;Set delay time and room to be sent to.
20 minutes =
129 inactiveroom =
;-----------------------------------------------------
inactivecount ++
{ "You were moved because you had not spoken in " minutes ITOA & " minutes." & LOGMSG
inactiveroom GOTOROOM
} inactivecount minutes >= IF
3600 ME SETALARM
}

Instructions:

in the script, find this section
inactiveroom is the room that you want to be your brb room.
In this case it is room id 129

;-----------------------------------------------------
;Set delay time and room to be sent to.
20 minutes =
129 inactiveroom =
;-----------------------------------------------------

 
Was this article helpful? yes / no
Article details
Article ID: 15
Category: Room Scripts
Date added: 04-01-2011 15:19:30
Views: 806
Rating (Votes): Article rated 3.0/5.0 (2)

 
<< Go back

Powered by Help Desk Software HESK™