What I am trying to accomplish is to make sure that the nick they are using to perform the !join is the handle that is on the bots so that they will get the proper flags set on the handle. the code that i am using is below...i was trying to mess around with adding in nick2hand but can not get it to work right, also saw finduser but not to sure which way i should go...any help would be great
If it's the handle of the user saying "!join" then just use $hand to identify if the user has a valid handle. Otherwise, use [nick2hand] on the nick to identify if he/she has a valid handle.
sometimes the person typing the Join command changes their nick, but they have a vaild handle on the bot and their ident is logged, so the bot will join the chan, but when it trys to chattr the handle and give them flags, if they are using a different nick, it will not give them the flags. So what I am trying to accomplish is this.
nick1 !join #dfsdfds
bot nick1 is not a registed to your ident.
becuase nick1 is actually registerd in the bots as nick. I tired to use the nick2hand but am unsure on how to incorporate it into the script. I tried variations like this:
if {nick2hand == "*" } {puthelp "NOTICE $me" "$me is not registered in the bot."}
The nick has nothing to do with the handle. You can have a completely different handle from your nickname. I don't see why you want them to be the same, but you can simply do it like this: