message_dialog error

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: message_dialog error
Canned
Member # 8014
Profile #0
I am having a problem with the script, but nothing seems wrong.
message_dialog("_You dare insult me! Minions, attack!_","");
The game says "t3thirdfloor error: Unknown coomand _you in line 39."

--------------------
Don't judge a sentence until you know all the words.

Everyone, just call me Iffy. Please.

Be grateful you have your unsellabe trowels -Goldenking

My scenario: Muffins n' Hell

I have been gone for a month and a half. I shall not share the reasons. I still won't be here every day.
Posts: 1799 | Registered: Sunday, February 4 2007 08:00
Infiltrator
Member # 5576
Profile Homepage #1
Let's see the portion of the script surrounding that line, particularly before it. As far as I or Alint can tell, there's nothing inherently wrong with the line you posted.

--------------------
Überraschung des Dosenöffners!
"On guard, you musty sofa!"
"Verbs for the weak!"
Posts: 627 | Registered: Monday, March 7 2005 08:00
Canned
Member # 8014
Profile #2
POSSIBLE SPOILER
-
-
-
-
-
-
beginstate 12;
reset_dialog();

add_dialog_str(0,"_Here is a riddle. What has four legs and talks riddles?_",0);
add_dialog_choice(0,"YOU!");
add_dialog_choice(1,"I don't know.);
choice = run_dialog(0);
if (choice == 1) set_state_continue(13);
if (choice == 2) set_state_continue(14);
break;

beginstate 13;
message_dialog("_You dare insult me! Minions, attack!_","");
break;

beginstate 14;
message_dialog("_Really? I don't know either. Oh well, just leave through the secret door behind me.","");
break;


--------------------
Don't judge a sentence until you know all the words.

Everyone, just call me Iffy. Please.

Be grateful you have your unsellabe trowels -Goldenking

My scenario: Muffins n' Hell

I have been gone for a month and a half. I shall not share the reasons. I still won't be here every day.
Posts: 1799 | Registered: Sunday, February 4 2007 08:00
Shaper
Member # 3442
Profile Homepage #3
You are missing a quotation mark:

add_dialog_choice(1,"I don't know.");

BoA treats everything up to the next quotation mark (which is in the line you posted initally) as one string, and the next symbol is the "_", which it doesn't like.

--------------------
Nikki's Nook - we are the dollars and cents, and the pounds and pence.
Posts: 2864 | Registered: Monday, September 8 2003 07:00