-
cheers buddy.
2009-02-20 03:46:42 UTC in dompdf
-
oops - the " should be a ' on the 7th line.
2007-08-31 23:38:09 UTC in Open Direct Connect Hub
-
Please provide your script and I will have a look into it.
2007-08-31 21:36:21 UTC in Open Direct Connect Hub
-
Yes any user in the hub can send commands to scripts.
If you want, provide your script and I will modify it so that all commands can be used by everyone.
Example script:
sub data_arrival() {
my ($user, $data) = @_;
if(($data =~ /^\<.+?\> \!foo\|$/i) && (odch::get_type($user) >= 16)) {
odch::data_to_user($user, '<Hub-Security> Hello Op or Admin!|');
}.
2007-08-31 21:34:53 UTC in Open Direct Connect Hub
-
ADC is so different that it would be a huuuge task to make odch support both protocols.
I have had thoughts of making a sister project, openadch...
We will see if it happens when my christmas break comes... :P.
2006-11-03 01:32:09 UTC in Open Direct Connect Hub
-
You should include a kick odch::kick_user($user); as well as the redirect and change the redirect address to something simple like 127.0.0.1.
You could change the check to a more simple check like:
if($user !~ /^\[.*?\/.*?\]/)
Also, put the line which sends the message to the owner in between the following:
if($owner) {
# put it here
}
Of course registered users and OPs/Admins arent...
2006-09-15 19:31:56 UTC in Open Direct Connect Hub
-
heh, dont use my script exactly as i did it there though as that would respond to people searching for 'test' etc aswell :P If you need any scripting help msn me: phrozen at phrozen . co . nz.
2006-08-31 21:06:59 UTC in Open Direct Connect Hub
-
Wrote this in this text box so isnt tested. Hope I didnt screw it up :P
$pm = 1; # 0 to sent via mainchat.
sub data_arrival()
{
my ($user, $data) = @_;
if($data =~ /tEsT/i)
{
&bot_chat("Howdy! Im responding because you said test in your message, I dont care about case, ill respond even if you say TEST!", $user);
}
elsif($data =~ /qUacK/)
{...
2006-08-31 21:01:25 UTC in Open Direct Connect Hub
-
Is this a public hub I can join and have a look?.
2006-08-23 13:42:51 UTC in Open Direct Connect Hub
-
heh, i know its been ages!
i am currently working on 2 other projects, IceDC++ and HubPing (hub pinger - hublist).
I should have HubPing finished tomorrow and the IceDC++ beta out within a few days then ill be working on ODCH adding my current work onto the CVS server working with anyone who would like to contribute until we have a stable build which supports some of the protocol improvements...
2006-08-03 19:07:52 UTC in News