View Single Post
  #10  
Old 06-30-2001, 10:22 AM
T-Squad T-Squad is offline
Banned
T-Squad's Avatar
Join Date: Mar 2001
Location: United States of America
Posts: 1,733
T-Squad is on a distinguished road
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!
Reply With Quote