Send pm to guest user for nick change

Platform:  mIRC
Published  Aug 09, 2009
Updated  Aug 09, 2009
This was written for a request in the forums.
It simply sends a pm every 5 minutes to a user with a nick that starts with guest, until they leave the channel, or until they change their nick to one that doesn't start with guest.
on *:NICK: { nick_check $nick $newnick }
on *:PART:#: { nick_check $nick }
on *:QUIT: { nick_check $nick }
on *:KICK:#: { nick_check $knick }
alias -l nick_check {
if $timer($1) {
$+(.timer,$1) off
set %g $remtok(%g,$1,1,32)
}
if $2 && (guest* iswm $2) {
$+(.timer,$v2) 0 300 .msg $v2 welcome to #channel Please make a new nick by typing: /nick newname
set %g $addtok(%g,$2,32)
}
}
on *:JOIN:#: {
if (guest* iswm $nick) {
set %g $addtok(%g,$v2,32)
$+(.timer,$v2) 0 300 .msg $v2 welcome to #channel $&
Please make a new nick by typing: /nick newname
}
}

Comments

Sign in to comment.
RusselB   -  Aug 10, 2009
@Weasel: There is nothing in the code I posted to keep you from joining the channel with an unregistered nick.
What would keep you from joining, is if the room already had mode +R set, but this has nothing to do with my posted code.
 Respond  
bvca   -  Aug 10, 2009
Thanks guys for helping me on this idea. Works great. Newbie guests are now changing their Guest* to "newnick" lol Got to luv newbies. Rate this a 10 from me, because it works.
 Respond  
Weasel   -  Aug 10, 2009
@ russel, if my nick was (unreg) bob, i couldnt come in,
 Respond  
Jethro   -  Aug 09, 2009
I originally had the idea in the forum request regarding this script, but RusselB made it better. Nice one! :-)
 Respond  
Cheiron   -  Aug 09, 2009
it is either that or send 2 pm's then after that an auto kick which is more than most channels give a user with a guest nick:)
nice script RusselB :)
 Respond  
RusselB   -  Aug 09, 2009
It's not spam if you are using a guest nick where they don't want guest nicks to be used, and it's more polite than setting the channel to +R so that only registered nicks can join.
 Respond  
Atr   -  Aug 09, 2009
Spamage! xD
 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.