Reply to Re: Weird script problem
If you don't have an account, just leave the password field blank.
Why even use a separate procedure? Custom procedures (and calling of procedures) is a tricky thing in DinkC. It creates a new instance of the script, instead of 'jumping' to it.
You might try (instead of the commented lines):
pool:
&crap = get_rand_sprite_with_this_brain(9, ¤t_sprite);
say_stop_npc("I'm talking!", &crap);
&wait = random(1000, 1000);
wait(&wait);
goto pool;
Also, as Ric said, you should put 'int &crap' and 'int &en' before the loops. Using int in a loop can be tricky. BUT when you keep using the speak() proc, then you do need to 'int &crap'. This has to do with those different script-instances (local variables don't transfer).
You might try (instead of the commented lines):
pool:
&crap = get_rand_sprite_with_this_brain(9, ¤t_sprite);
say_stop_npc("I'm talking!", &crap);
&wait = random(1000, 1000);
wait(&wait);
goto pool;
Also, as Ric said, you should put 'int &crap' and 'int &en' before the loops. Using int in a loop can be tricky. BUT when you keep using the speak() proc, then you do need to 'int &crap'. This has to do with those different script-instances (local variables don't transfer).