i ofloo..i need this script for my chan and my private netOfloo wrote:i think there is a way for a bot to auto add users .. or check the tcl archieve there is certainly a script for this also don't just add users on join cause they might allready exist and use different nicks ..
Code: Select all
bind join - * foo
proc foo {n u h c} {
if ![validuser $h] {
adduser $n [maskhost $n!$u]
chattr $n +f
}
}
hi demond, thanks for the reply!!demond wrote:Code: Select all
bind join - * foo proc foo {n u h c} { if ![validuser $h] { adduser $n [maskhost $n!$u] chattr $n +f } }
what's ".user file"???awyeah wrote:I think what he mean't was, if that a user joins with a host and that host is not already in the added in the .user file then only go ahead and add it.
However even if a user is already added and he joins, it would consider to overwrite his previous hostmask and give him the same flags anyway.