View Single Post
  #13  
Old 09-03-2001, 10:13 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by T3CK
Methinks that either the flag-in-level or server-string-purge method is perfect for ALL WEAPONS. That way, to remove them, you just have to plop NPCs in a lot of levels, or with server-string-purge just one in a staff area with:

if(washit){
server.purgesystemv1=1;
}

where the version 1 system NPC being removed has:

if(server.purgesystemv1=1){
message Removing Outdated System NPC...;
sleep 3;
destroy;
}


Or you can set a server string with the current version of *System or *Bankcard or whatever...thus,

In the new version:

if(created){
...
server.systemversion=2
...
}

In the old version:

if(server.systemversion>1){
message Removing Outdated System NPC...;
sleep 3;
destroy;
}
Um... you do know what a server string is, don't you?
Reply With Quote