View Single Post
  #8  
Old 06-30-2001, 08:57 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to 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

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote