
08-23-2001, 02:49 AM
|
|
Registered User
|
Join Date: Aug 2001
Location: United States
Posts: 31
|
|
hat script
|
i found this script but its too long and would take days to put up all hats
// NPC made by Adrenaline
if (playerchats && strequals(#c,knighthelmet)) {
set knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,samurai)) {
unset knighthelmet;
set samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,beret)) {
unset knighthelmet;
unset samurai;
set beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,bomyshell)) {
unset knighthelmet;
unset samurai;
unset beret;
set bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,gentleman)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
set gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,fool)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
set fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,pirate)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
set pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,bandana)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
set bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,cap)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
set cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,turban)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
set turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
set elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
set blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
set flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
set egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
set wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
set crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
set shroom;
unset ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
set ladyhat;
unset cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
set cowboy;
unset elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
set elf2;
unset goldhelmet;
}
if (playerchats && strequals(#c,elf)) {
unset knighthelmet;
unset samurai;
unset beret;
unset bomyshell;
unset gentleman;
unset fool;
unset pirate;
unset bandana;
unset cap;
unset turban;
unset elf;
unset blackbandana;
unset flower;
unset egg;
unset wingedknight;
unset crown;
unset shroom;
unset ladyhat;
unset cowboy;
unset elf2;
set goldhelmet;
}
see what i mean
how can i shorten it |
__________________
|
|
|
|