var %chan = #help - this was on the first post of this thread, so i kept it.
the command
/var creates a %variable that will only be used while that script is running.. then it will be erased. It is used to store information in a more organized way, which is usually easier to handle.
In your script, specifically, that command is not necessary, since it only uses that variable.. so, if you want to, you can change
all the
%chan for
#help (or whatever channel you want it to be) and remove that line.
Just remember to change them ALL, or else it will not work.
var is the command /var
%chan is the name of the variable (it has to have that & in front of it).
#help is the value of that variable.
Note that you need to add an equal sign (=) between the name of the var and the value.
Hope this helps

Zyzzy.
Edit: in answer to your second question, you can use
$chan as well.. there's no problem
Edit2: Indeed, the zero is missing. My bad
