View Single Post
  #12  
Old 09-03-2001, 09:42 PM
T3CK T3CK is offline
Banned
Join Date: Aug 2001
Location: Atlanta, GA
Posts: 557
T3CK is on a distinguished road
Send a message via AIM to T3CK Send a message via MSN to T3CK Send a message via Yahoo to 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;
}
Reply With Quote