i added some color to the message :)
and i added a feature so that even if no one joins you can type /views and it will show you the views
on *:JOIN:#CHANNEL:{
if (%views [ $+ [ $nick ] ]) { halt }
inc %views | msg $chan 12>>>4>>>12>>>9 Join count: 7 %views $+ 12<<<4<<<12<<< | set %views [ $+ [ $nick ] ]
}
alias views {
/say $chan The total viwers on # are 4 %views %+
}
um instead of filling up ur var list with nicks why not use a txt file?
on !*:JOIN:#CHANNEL:{ if (!$read(viewsnick.txt,w,$nick)) { inc %views | msg $chan 12>>>4>>>12>>>9 Join count:7 $+(%views,12<<<4<<<12<<<) | write viewsnick.txt $nick } }
of if you dont want to use $nick cuz people can change nicks and rejoin you can use addy's by replaceing $nick with $address($nick,2)
but w/e
set %views [ $+ [ $nick ] ]
You're not setting it as anything, make it like set %views [ $+ [ $nick ] ] 1 or something.
I think it'd be better though to write the nick to a txt file and then check if ($read(FILE.TXT,w,$nick)).
Edit: I think you mixed up %acount and %views. Because you inc %acount and don't use it, and %views is never set.