Nick Caller

By Chevy on Apr 28, 2007

When Some One Says Your Nick It Notices You Saying $nick Has Said Your Name In # And then it will post what they said.

on *:Text:*:#:{
if (<your|name|here> isin $1-) notice <your|nick|here> 4 $nick Is Calling Your Name In #  $nick said: $1- }
}

Comments

Sign in to comment.
Lindrian   -  Apr 29, 2007

Flood protection can simply be made as:

on *:TEXT:*:#: {
if ($wildtok($1-,$+(*,$me,*),1,32)) {
if ($($+(%,hl,.,$nick),2) == $null) {
echo -at $nick highlihgted you in $chan saying: $1-
}
set -u10 $+(%,hl,.,$nick)
}
}
 Respond  
Xemnas   -  Apr 29, 2007

I would do /beep 9. I use mine and it has flood protection.

 Respond  
Lindrian   -  Apr 29, 2007

Usless imo... Much better out there, and why notice yourself?

on *:TEXT:*:#: { 
if ($wildtok($1-,$+(*,$me,*),1,32)) {
echo -at $nick highlihgted you in $chan saying: $1-
}
}

Thats how i would do it.

 Respond  
X1qu10n3r   -  Apr 29, 2007

Good for a start. o.O
But wouldn\'t it be better like this?

on :Text::#:{
if ($me isin $1-) echo -a 4 $nick Is Calling Your Name In # $nick said: $1- }
}

And I agree with |MELIORITE| on the flood thing.

 Respond  
|MELIORITE|   -  Apr 29, 2007

Rather than having:

if (<your|name|here> isin $1-) notice <your|nick|here>

consider using:

if $me isin $1-) notice $me

Also, personally, i think the notice is a bit long, perhaps make it a little shorter? The other thing about notices is they can get annoying, especially if you\'re in like 20 channels and you get called often. Perhaps a msg would be better? I would think of adding an anti-spam feature so that if your nick is called, say four times in a short period, the $nick calling is on ignore for 30 seconds.

 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.