Quote:
thankz Om3n. actually i wanted bot to read ident and initiate command after reading snotice:connecting....i am trying to use it for java based site where i will be able to manage to get snotice with ident and without ident. and i want a script to read the ident. if there is anything before @, script will tiger some command for example, shun. if there is nothing before @, bot won't execute any command. the code you have given, if there is any ident or no ident, it shuns the mask in both cases. can you make it like if there is no ident, there will be no shun?


It's impossible to have no ident. Everyone has one even if it's just a single character.