
02-06-2002, 06:58 AM
|
|
Registered User
|
 |
Join Date: Aug 2001
Posts: 710
|
|
|
//NPC Made By LORD HELMUT
if(created){
this.max=7;
}
if(playerchats) {
tokenize #c;
if(strequals(#a,#I(server.ph1tenants,0))){
//add new Tenant
if(startswith(AddTenant,#c)){
if(sarraylen(server.ph1tenants) <= this.max){
addstring server.ph1tenants,#t(1);
}
else {
setplayerprop #c,You already have #v(sarraylen(server.ph1tenants)-1) tenants!; //-1 cause of the owner
}
}
//remove tenant
if(startswith(RemoveTenant,#c)){
removestring server.ph1tenants,#t(1);
}
}
}
thats a ghetto old script I made but remove tenant wont work =/ I say removetenant lordhelmut and it no workie |
__________________

Check out the development at:
http://razza.org/lordhelmut/FantasyTales/index
|
|
|
|