Hello,
  I would like to ask you, to create for me a script for freenode, that will have several features. The features to be as follows:
  1.Wait for nickserv's notice "NickServ (NickServ@services.)- You are now identified for ^$botnick^B.", then to auto join a specified channel.
  2.If it receives the nickserv's identified notice, to auto ghost, when its nick does not match $botnick.
  3.If the bot does not receive the notice within a predefined time, to change its nick to random characters, until it receives the notice.
  I would be thankful, if you also add the ability for the bot to check its host on a timer and execute the above conditions, if the host does not match its cloak/host.
  I have searched and could not find such a script. Your help would be greatly appreciated. Thank you.
       Cheers
      needhelp3