Help with some if's - 25/02/07 09:04 AM
Okay this is what I'm trying to do
I want it to check if the nick is registered or in a txt file
but i dont quite get how to do it or if its even possible
What i tried (kinda sad)
And
this is what I have
If anyone could plz help with this i would be really grateful
it has me stumped
I want it to check if the nick is registered or in a txt file
but i dont quite get how to do it or if its even possible
What i tried (kinda sad)
Quote:
if ( [LC] isin $nick) && ( $nick isreg ) {
And
Quote:
if ( [LC] isin $nick) && ( $nick isin $read(clanmembers.txt)) {
this is what I have
Quote:
on *:JOIN:#mol: {
if ( [LC] isin $nick) && ( $nick isreg ) {
inc %clanjoins 1
describe $chan Welcome back to the clan room $nick you are member %clanjoins to return
mode $chan +h $nick
}
else {
inc %joins 1
describe $chan Welcome to $chan hope you enjoy your stay here btw your number %joins to happen in here.
mode $chan +v $nick
}
if ( [LC] isin $nick) && ( $nick isreg ) {
inc %clanjoins 1
describe $chan Welcome back to the clan room $nick you are member %clanjoins to return
mode $chan +h $nick
}
else {
inc %joins 1
describe $chan Welcome to $chan hope you enjoy your stay here btw your number %joins to happen in here.
mode $chan +v $nick
}
If anyone could plz help with this i would be really grateful
it has me stumped