This is a basic code that I put together. What its for, is if someone needs you, it lets you know.
Usage:
!need
What it will do, is notice the user twice, that you have activated the script, and then it will show an echo in your active channel that someone needs you. It will also beep 20 (like a phone ringing) And you will query yourself saying someone needs you in the channel it was typed in
To avoid someone spamming you for this, after it is used, it places them on a 10 second ignore.
Feel free to edit any part of this code, it was tested, there should be no problems in it
====Recent Changes====
-Made it so you dont have to edit anything on it! Just place it in your remote and it works!
-Added colors for the nick, channel, and network someone used !need on.
Enjoy!
on *:TEXT:*:#:{
if ($1 == !need) && ($2 == $me) && (!%nflood) {
notice $nick You have activated the !need script
timer 1 2 notice $nick Hello $nick ! You have said that you needed me, please give me one moment to respond to you! Note: this is from you using the !need script
echo 4 -atlbf 4[NEED] 4 $nick 4,1( $fulladdress ) needs you in 3 $chan on 12 $network $+!
/beep 25
/msg $me 4 $nick 4,1( $fulladdress ) needs you in 3 $chan on 12 $network $+!
timer 1 7 notice $nick $me has been notified that you needed him.
}
set -u5 %nflood 1
}