Birthday Script

By [-DDC-]Darkness on Mar 19, 2008

mmm....It creates a *.ini file that'll record your friends birthday.....

Im not positive if the bottom portion of the script
( This part vv )
on *:START: {
$readini(birthdays.ini,peoplez,%nick,%date) {
if (%date == $date) {
echo -a IT'S %nick $+ 's BIRTHDAY TODAY!!! :O WEWT WEWT!! :D
}
elseif (%date == $null) {
{ HALT }
}
.timer1 50 60000 /echo -a It's %nick $+ 's Birthday Today. Dont Forget To Say Happy Birthday To Them.
}
}

Will work.

But yea...Uh. Enjoy. ^_^

Menu Nicklist {
  ..Birthdayz
  .Add {
    set %nick $?="Write Nick Here"
    set %date $?="Write Date Here (Format Example: 
19/03/2008)"
    writeini Birthdays.ini Peoplez %nick %date {
      echo -a %nick has been added to your list of birthdayz peoplez 
    }
    { HALT } 
  }
  .Del {
    set %nick $?="Write Who To Delete Here" 
    remini birthdays.ini peoplez %nick
    remini birthdays.ini peoplez %date
    echo -a %nick has been deleted from your list of birthdays. 
    { Halt }
  }
  .Clear List {
    remini birthdays.ini Peoplez %nick(%date)
    echo Birthday list has been cleared. 
    { Halt }
  }
}
on *:START: {
  $readini(birthdays.ini,peoplez,%nick,%date) {
    if (%date == $date) {
      echo -a IT'S %nick $+ 's BIRTHDAY TODAY!!! :O WEWT WEWT!! :D
    } 
    elseif (%date == $null) {
      { HALT }
    }
    .timer1 50 60000 /echo -a It's %nick $+ 's Birthday Today. Dont Forget To Say Happy Birthday To Them.
  }
}

Comments

Sign in to comment.
[-DDC-]Darkness   -  Mar 19, 2008

** on start. -.- Sorry. I cant type today. lol
But yea, if you want, you can just tell me what part you want me to change, and I\'ll see what I can do.

 Respond  
[-DDC-]Darkness   -  Mar 19, 2008

Huh....Napa, I agree with you on your first comment.....

Your second comment confuses me slightly.
It doesnt read the variables. It reads the .ini on the load (I edited it just now. >.< )
The only reason why I have the variables is for the script to know what to write in the .ini

 Respond  
napa182   -  Mar 19, 2008

heh i guess i wasnt fully awake yet cuz i didnt notice it was readding from those 2 vars heh well then if those var\'s were to be changed then the script wouldnt red for everyone only whos set in those 2 vars
so 2/10 for the script being incomplete...

 Respond  
napa182   -  Mar 19, 2008

you mite want to add that the format for entering the date would be like this
19/03/2008
cuz thats the way you have it check
um the on load part will only work if you load this script every day. maybe use on start or on connect.
could be done a bit better. maybe add checks if that nick has already been added or not. but nice idea on it 4/10

 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.