Thread: RC Update
View Single Post
  #3  
Old 02-09-2005, 05:14 AM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
Quote:
Originally Posted by Andares
I got peeved with not being able to start client RC back up after closing it so I made this.

Installation Instructions:
NOTE: This only works on GScript2-enabled servers.
1. Open the client RC's script.
2. Put this function directly below onCreated() (You don't have to, but it makes things simpler so people don't stick it inside a function or anything.)
3. Hit r to start the RC back up again. Yay!

NPC Code:

function onKeyPressed() {
if(params[1] == "r") {
rcoptions.loadvars("rcoptions.txt");
createVars();
createBackround();
}
}

Errr... I really think this was not really necessary to say x.x Anyone who has access to NC on a server with GScript2 should be competent enough to do this =/ Also createVars() and createBackground() are assuming that you're using an RC that has those vars... and if you wanted to make it simpler on yourself, you could've done onCreated(); and be done with it.
__________________
Who has time for life these days?
Reply With Quote