
01-06-2002, 04:23 AM
|
|
Wishing he had 3 feet
|
Join Date: Aug 2001
Location: Basement
Posts: 1,565
|
|
Quote:
Originally posted by Python523
If you want an example for with(getplayer) here's one I typed up in a min (I'm trying to see if I can get someone with NPC Server acess to let me test it)
It's my Noobalizer
//NPC created by Jagen
if (created) {
// Initialize the attributes
showcharacter;
setcharprop #3,head0.png;
setcharprop #C0,orange;
setcharprop #C1,white;
setcharprop #C2,blue;
setcharprop #C3,red;
setcharprop #C4,black;
setcharprop #2,shield1.gif;
shieldpower = 1;
dir = 2;
}
if (playerchats&&startswith(noob,#c))
{tokenize #c;with(getplayer(#t(1)){
setplayerprop #C0,orange;
setplayerprop #C1,orange;
setplayerprop #C2,orange;
setplayerprop #C3,orange;
setplayerprop #C4,orange;
setplayerprop #1,sword1.png;
setplayerprop #2,shield1.png;
setplayerprop #3,head0.png;}
}
|
that is a great npc. |
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
|
|
|
|