oidentd

Paste Your code(s) here, for easier sharing

oidentd

Postby T1aMat » Sun Jun 08, 2008 12:31 pm

Code: Select all
#Set this to your ident you like to use with this Eggdrop
set ident "name"

#Set this to the full path of your .oidentd.conf [/home/username/.oidentd.conf]
# WARNING! This file will be overwritten!
set oidentdconf "/home/user/.oidentd.conf"

# -------------------------------------------------------------------------

proc setident {type} {
    global ident oidentdconf
    putlog "Set ident to $ident"
    set file [open $oidentdconf "w"]

    puts $file "global { reply \"$ident\"}"
    close $file
    }

putlog "oidentd.tcl Version 1.0"
bind evnt - connect-server setident


(:D
T1aMat
 

Re: oidentd

Postby Hansa » Sun Jun 15, 2008 12:09 pm

Nice script, really usefull. ;)

Remember that you need to edit you'r oidentds config /etc/oidentd.conf, so the user the eggdrop is running on, can change it through that file.
Hansa
 

Re: oidentd

Postby Lukemob » Tue Jun 17, 2008 3:11 pm

Hansa wrote:Nice script, really usefull. ;)

Remember that you need to edit you'r oidentds config /etc/oidentd.conf, so the user the eggdrop is running on, can change it through that file.



Good you reminded it. DO NOT FORGET TO CHANGE THE SETTINGS (as in script, also in /etc/oidentd.conf) :-)
Lukemob
 

Re: oidentd

Postby daveyw » Wed Jun 25, 2008 9:49 pm

If you got the right settings of /etc/oidentd.conf you don't need to change the file.
daveyw
 


Return to TCL Scripting Paste

Who is online

Users browsing this forum: No registered users and 0 guests

cron