Hi!! This is the first snippet I have ever posted here. In fact, the first one I made, without just changing other peoples snippets to what I like. It is a very easy, simple snippet that will greet a user when he/she joins your chan. It also says the total number of joins since the day you installed it. all you have to do is press ALT + R > FILE > NEW and just paste this there.
Then, right click the channel and select "channel greet". You can reset the date ( it cleans the total of joins, so they'll turn to 0 ) or just show the chan the number of joins. NOTE: where it says #channel change "channel" to the one you wont this to work on, or just put # if you want it to work everywhere.
Well thats it!! If you have any problem just ask, and any critic just make it, as I want to improve my scripting skills :D
menu channel {
.channel greet
..Reset:/setnew
..Show Current Total Joins ( public ): /msg $chan 7Since %totaldate $+ 9 %totalusers 7people have joined $chan
.-
}
alias /setnew {
/set %totaldate $date
/unset %totalusers
}
on *:JOIN:#Channel: {
inc %totalusers 1
.msg $chan 7Hi4 $nick $+ 7!! Welcome! You're the number9 %totalusers 7person to join $chan since4 %totaldate $+ 7!! Enjoy it here!
}
The best place would be in the forum ( http://www.hawkee.com/phpBB2/viewforum.php?f=1 )
Well thx :DDD
Just a minor ajustment:
when i said to replace #channel with # for it to work everywhere, I was wrong, and now i saw that :P
If you just put #, it\'ll be constantly adding users in everychan...imagina you have your bot in a chan that\'s got 50 joins and in a 4 joins one...the variable would be set as 54, the total of joins between the two :D. So...just replace #Channel with the one you want...if you want it to work elsewhere, just paste this anyplace else and replace #channel for the other one you want