Someone want to help me with this?

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Someone want to help me with this?
Warrior
Member # 4987
Profile Homepage #0
beginstate 17;
reset_dialog();
add_dialog_str(0,"There is a shimmering portal here. You hear a voice boom all around you You have passed. Do you enter?",0);
add_dialog_choice(0,"No");
add_dialog_choice(1,"Yes");
choice = run_dialog(0);
if (get_flag (299,27) == 1) && (get_flag (299,28) == 1) && (get_flag (299,29) == 1)
{
teleport_party(25,8,0);
}
if (choice == 2)
{
teleport_party(25,42,0);
}
if (choice == 1)
message_dialog("You decide to play it safe.","");
break;

I cannot find a single thing wrong with it. I've looked it over several times, and am beginning to get annoyed. Unfortunitaly this portal is at an important part of the scenario. Can anyone spot anything wrong? It says that I have an improper command, but I see no syntax errors.
Posts: 60 | Registered: Sunday, September 19 2004 07:00
Apprentice
Member # 4258
Profile #1
quote:
Originally written by Squirrel:


if (get_flag (299,27) == 1) && (get_flag (299,28) == 1) && (get_flag (299,29) == 1)

Your parentheses here arn't quite right, use this:

if ( (get_flag (299,27) == 1) && (get_flag (299,28) == 1) && (get_flag (299,29) == 1) )
Posts: 28 | Registered: Wednesday, April 14 2004 07:00
Warrior
Member # 4987
Profile Homepage #2
OK. Thanks, that seems to have solved my problem.

stupid parenthesis...
Posts: 60 | Registered: Sunday, September 19 2004 07:00