i've created a hook :
PHP Code:
if ($forumid==7)
{$newpost = array(
'emailupdate' => 9999,
'userid' => '120',
'username' => 'Informationsminister',
'title' => 'Info',
'message' => '[SHOWTOGROUPS="10"]folge dem wei?n wolf
:P oder w?hle folgende nummer[/SHOWTOGROUPS]',
'thread' => '$threadid'
);
$threadinfo['threadid'] = 'threadid';
build_new_post('Post', '7', $threadinfo, array(), $newpost, $errors);}
the start is newpost_complete
i want to make a automatic answer on every thread that someone creates in forum=7 but it doesn do that