Hi,

So i have a background in computer programming and i can't seem to figure this out.

What I want to do:
Create a bot that gives every member of a channel 1 point for every minute they are in the channel.

This is what i kinda figured out so far (Syntax and other stuff may be wrong):

/timer 99999999 60 /MyFunction

/MyFunction {
%name = NAMES #channel
For (x = 1 to RFL_LISTEND) {

%Data ( %name (x) ) = %Data ( %name (x) ) +1
Print "User" + %name(x) + "has " + %Data( name(x) ) + " points)

}

Questions:
1. I'm not sure what tab to put all of this into

2. I'm pretty sure my syntax is off.

Any help would be appreciated.