logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Scripted Server Restart with NWNX

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules
View previous topic :: View next topic  
Author Message
riffraff



Joined: 18 Mar 2005
Posts: 1
Location: Sacramento, CA

PostPosted: Fri Mar 18, 2005 3:18    Post subject: Scripted Server Restart with NWNX Reply with quote

I was wondering if anybody knows of a good way to do a automatic server reset every 24 hours. Any help would be appreciated.

Riff
_________________
Code:

object oDM = GetFirstDM();
int iLikesSleep = GetSleepPreference(oDM);
if (iLikesSleep == LIKES_SLEEP_RESTRICTIONS)
{
  effect eSlapSilly = EffectSlapSilly(DURATION_TYPE_INSTANT);
  ApplyEffectToObject(oDM, eSlapSilly);
}
Back to top
View user's profile Send private message Visit poster's website
NoMercy



Joined: 03 Jan 2005
Posts: 123
Location: UK

PostPosted: Fri Mar 18, 2005 6:05    Post subject: Reply with quote

You'll want the topic here:
http://www.nwnx.org/phpBB2/viewtopic.php?t=89
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group