
06-30-2001, 10:22 AM
|
|
Banned
|
 |
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
|
|
Quote:
Originally posted by BocoC
Ah ha!
NPC Code:
if (playerchats&&strequals(#c,done)&&(strequals(#g,Ev ents Team)){
show;
message Staff say start to begin;
}
The problem is that you are missing a parenthesis. There should be 3 parenthesis ending the if command. Try this:
NPC Code:
if (playerchats && strequals(#c,done) && (strequals(#g,Events Team))) {
show;
message Staff say start to begin;
}
In fact, you don't need the parenthesis in front of the second strequals.
NPC Code:
if (playerchats && strequals(#c,done) && strequals(#g,Events Team)) {
show;
message Staff say start to begin;
}
That should work.
|
Boco is officially the script idiot! Nice work! |
|
|
|