make one variable and you only have to declare your ip once.
but tbh I dont see how this is helpful when on most networks your host is 1) cloaked and 2) your cloak changes... and 3) you have vhosts on off... w/e dont bash me just a suggestion. I made one just to log joins/parts/quits/connects/nickchanges/bans/kicks/serverbannes/kills... etc...