2009-11-19, 03:31 PM
2009-11-21, 09:25 PM
I don't fully understand what you are trying to do. Maybe give a little more detail.
2009-11-23, 04:55 PM
Nvm. Already did it. Here's the code if someone needs:
$plugins->add_hook("pre_output_page","invitetochat_check");
..
function invitetochat_check($page){
$page=str_replace("</head>",'
<script type="text/javascript">
document.onLoad = alert("pancakes!");
</script>
</head>',$page);
return $page;
}