<?
include('bncquery.class');
$bncquery = new bncquery; //Create new BNC-Class
$bncquery->connect("127.0.0.1","1337","admin","534231"); //Here are the BNC-requirements (ip,port,user,pass);
$bncquery->send("PRIVMSG -psybnc :adduser test1 : test1"); //Here are the command to send
$bncquery->close; //Close the Connection To The BNC-Server
?>
|