View Single Post
  #1  
Old 01-20-2002, 04:43 PM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
PlayerHouse script

// NPC made by Lord Helmut
if(created){
this.max=7;
}
if(playerchats) {
tokenize #c;
if (strequals(#t(0),AddTenant)){
tokenize server.p1htenants;
if(strequals(#a,#t(0))){
if (tokenscount<=this.max) {
tokenize #c;
addstring server.ph1tenants,#t(1);
}else{
message You already have #v(this.max) tenants!;
}
}
}
}

What would I change to add to that so that the owner can also say RemoveTenant 1 or 2 or whatever?
Reply With Quote