i have this:
on 1000:text:-ulist:#:{ .getuserlist users $scriptdir\remote.ini }
alias getuserlist {
; Syntax: /getuserlist <section> <path\file>
if (!$isfile($2-)) .notice $nick File doesn't exist. $+($chr(40),$2-,$chr(41))
elseif (!$ini($2-,$1)) .notice $nick Section $+(,$1,) does not exist. $+($chr(40),$2-,$chr(41))
else {
var %i = 1
while ($ini($3-,$1,%i) != $null) {
.notice $nick $v1
inc %i
}
}
}
but it doesnt works :tongue:
ini file looks like this:
[users]
n0=10:*!*@antipiratbyran.info
n1=10:*!*@needs.more.b33r.net
n2=10:*!*@likes.drunkenprogramming.net
so on bot command -ulist i wouls wish bot to notice me
this list (from USERS section) if possible without n0=LEVEL:
lines.
anyone can help me with this?