I am currently making a Twitch Bot which will answer questions in chat by displaying a command. I am highly new to this program of programming and can't seem to get the if statements to work with the variables.
on *:TEXT:how old is dapper:#: {
var %ageCount = %ageCount. $+ $nick
inc %ageCount. $+ $nick 1
if (%ageCount. $+ $nick == 1) {
msg $chan !age $nick
}
}