Call

By irchainscriptz on Dec 13, 2008

Very simple but yet effective, same principal as Nickalert but i like call LOL what it dose is when some one says your name it pops up a dialog with a sound as shows you whos calling you and in what room! Also you may not like the wav so change it to anything you desire.

http://www.chainscriptz.com/pic/call_dialog.png

dialog Call {
  title "Call"
  size -1 -1 190 22
  option dbu
  text "", 1, 3 5 185 15
}
on *:dialog:call:init:*: if ($chan != $active) { splay -w ringring.wav | did -a $dname 1 You been called By %nickcall On %chancall }
on *:text:*:#: if ($me isin $strip($1-)) { set %nickcall $nick | set %chancall $chan | dialog -m call call }

Comments

Sign in to comment.
Protheus   -  Nov 16, 2011

I like the old muscle cars best too. Good script bro. Like an old Shelby Cobra :P

 Respond  
Jethro   -  May 30, 2011

You know, it's like some love old, classic muscle cars and some have a taste for the latest car models. I suppose whichever suits your fancy. :p

Though I reckon you can set one var and then tokenize it as such:

set %call $nick $chan
tokenize 32 %call
The $1 = $nick
The $2 = $chan
 Respond  
blackvenomm666   -  May 30, 2011

yes that would be better as well. but maybe he doesnt know the $tip all that well but meh. $tip does look nicer.

 Respond  
napa182   -  May 30, 2011

even tho this is an old snippet...you are prob better off using the $tip command rather then a dialog or even a $input command.

 Respond  
blackvenomm666   -  May 30, 2011

well also you must take into consideration first they may not have that sound file and second even if they do it may not be in their mirc directory whichis where it must be to play it the way you have it set up other than that though its a decent script. also one small problem with the caller is the way you have it done if say my nick is ryan. and someone says bryan it will go off. the only way around this is by using regex as far as i know.

 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.