Thread: commands.rtf
View Single Post
  #2  
Old 03-14-2002, 07:25 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: commands.rtf

Quote:
Originally posted by Andor_RC9
When will commands.rtf be updated with the new
script functions such as "in" and that new one i dont get
a : b ? c (something like that) ????


'in' has been around a while:
NPC Code:

NPC Code:

if (created) {
this.check={3,4,5,6,7,8};
timeout=1;
}
if (timeout) {
for (i=0;i<10;i++) {
if (playerx in |this.check[i]|) {
message In Area;
} else {
message Out of Area;
}
}
timeout=1;
}




i'm just guessing, but that may work ...
Reply With Quote