I use a yourbot in my room and would like the commands to go trough dcc.
The bot uses 4 userlevels.
The problem is I can't get the dcc to work with levels.
The bot uses this to see who joins:
Code:
 on ^1600!:JOIN:#:echo $chan 3*** Joins : $nick ( $+ $mask($address($nick,1),1) $+ ) -- (Operator Status: 

I know dcc does not know any levels so this is what I tryed.
Code:
 on 1:CHAT:*help*: {
  if ($level($address($nick,1),1) == 1600 {
    if ($1 == %c $+ help) {
      if ($2 == spelletjes) { 
        if ($3 == trivia) /msg =$nick help trivia komt eraan
        else /msg =$nick help spelletjes komt eraan
      }
      else { /msg =$nick help }
    }
    else { /msg =$nick Sorry, onbekend commando }
  }
}
 

I used the same $address as in the join.
Hoping the bot would know who dcced and return the correct msg.
But it doesn't work.
What is wrong?
It also return only the sorry, onbekend commando msg.
The bot uses an ini flie to store who is who on the levelpart.
the way its stored is like this:

n0=1600:<nickname><host>

I thought letting it read the ini should let the bot know who is on the dcc and from there on continiue the command.
This however is somthing i dont'know how to do or if it is possible.
Perhaps there are more ways to identify who is on the dcc.
Please help.