This script is just an addition to napa182's Funny Usernick Facts Socket that allows it to be used as a dynamic greeting. You MUST have the original script loaded for this additional script to work..
http://www.hawkee.com/snippet/7154/#c74630
I figured napa182's script would also be very good as a dynamic greeting for each user. So I had a friend make a script that will utilize it in this way. Just to make clear the only part of this script that is mine is the idea to make it a greeting. I DID NOT WRITE IT. Credit goes to napa182 and my friend who adapted it for me.
In the snippet simply place the usernames that you wish to use this script into the relevant brackets according to gender, and separated by a space. I have placed "male_user1" etc so that you can identify the spot easily, just replace those examples with your channels usernames.
Enjoy.
on *:join:#: {
if ($istok(male_user1 male_user2,$nick,32)) { set %gender m } ; put male nicks on this line
if ($istok(female_user1 female_user2,$nick,32)) { set %gender f } ; put female nicks here
if ($istok(bot1 bot2,$nick,32)) { set %gender o } ; put other nicks here
if (($nick ison $chan) && (%gender)) {
if ($sock(nfact)) sockclose nfact
sockopen nfact blog.esaba.com 80
sockmark nfact $+($nick,&g=,$replace(%gender,m,male,f,female,o,other)) $chan
unset %gender
}
}
if ($istok(male_user1 male_user2,$nick,32.. wouldnt it be easier to just set a var for the nicks? or even a userlist? ex of userlist..
on :join:#:
{ if ($level($nick) = greetsafe) { set %gender m } etcetc. instead of having to go into the script and manually doing it. then from there its just a matter of setting nicks as greetsafe or w.e safelist word you use ex of how to set it would be
On :Text:*:#:{ If ($Strip($1) == !addgreet) {
auser greetsafe $2
}
}