My own friend code script.

Platform:  mIRC
Published  Mar 16, 2008
Updated  Mar 16, 2008
Well, this is a little thing I made for a bot of mine. It records friend codes for the wifi for Nintendo DS and Wii. It is easy to use, just use !writefc friendcodegoeshere to input your friend code and !findfc nickhere to find them. Please tell me what you think, but be gentle this is one of my first scripts that I think are good enough to become public. On *:TEXT:*:*: {
if (($1 == !writefc) && ($nick !isin $read(FriendCodes.txt))) {
.write FriendCodes.txt Name: $nick Friend Code: $2
.notice $nick Thank you for inputing your Friend Code.
}
elseif (($1 == !writefc) && ($nick isin $read(FriendCodes.txt))) {
.notice $nick You are already in my database. Please do not try again, contact my owner if you need more information.
}
if (($1 == !findfc) && ($2 isin $read(FriendCodes.txt))) {
msg $nick $read(FriendCodes.txt,w,* $+ $2 $+ *)
}
elseif (($1 == !findfc) && ($2 !isin $read(FriendCodes.txt))) {
.notice $nick I am sorry, but the Friend Code you are trying to find is not in my database.
}
}

Comments

Sign in to comment.
KilllerX   -  Apr 08, 2010
or you could just do

a $2- so that you can do a

!writefc #### #### ####

And yes I mean you can have spaces.
 Respond  
bugboy1028   -  Apr 07, 2010
so make sure you put in $2 $3 $4 or check if $2 have 12 numbers
 Respond  
bugboy1028   -  Apr 07, 2010
Can someone fix that and i know that nintedo friend code is 3 sets of numbers
 Respond  
Jethro   -  Apr 07, 2010
Have you noticed the the script's if statement sequence is incorrect?
 Respond  
KilllerX   -  Apr 06, 2010
Just a question... where do I put the .txt file?
 Respond  
Vengeance   -  Mar 20, 2008
Well It does what you made it do...

Nothing special unfortunately
would like to see you try something a little more complicated next time :)
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.