mIRC Home    About    Download    Register    News    Help

Print Thread
#123402 23/06/05 02:50 AM
Joined: Jun 2005
Posts: 7
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Jun 2005
Posts: 7
this script on *:text:!help:#: { /window @nickcalleforhelp | /aline @nickcalleforhelp $nick on $chan called for help }

only notifys me when the person types !help i want it to notify all ops with the same format

please help

thanks in advanced

Joined: Oct 2003
Posts: 37
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Oct 2003
Posts: 37
ON *:text:!help:#:{
window @nickcallforhelp | echo @nickcallforhelp $nick call for help..
var %a = 1
while (%a <= $nick($chan,0,o)) {
msg $nick($chan,%a,o) $nick call for help
inc %a
}
}

Joined: Jun 2005
Posts: 7
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Jun 2005
Posts: 7
thanks for the help

Joined: Jun 2005
Posts: 7
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Jun 2005
Posts: 7
does this go under remotes

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Or simply use the /omsg command

Code:
 ON *:text:!help:#:{
  if ( !$window(@nickcallforhelp) ) window @nickcallforhelp 
  echo @nickcallforhelp $nick @ $chan call for help..
  omsg $chan $nick called for Help.
}
 


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Quote:
if ( !$window(@nickcallforhelp) ) window @nickcallforhelp


The IF is a waste of time, faster to just do window @nickcallforhelp like he did originally.

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Hmm, make sense. Got used to it, that's why. Thanks for the info.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!

Link Copied to Clipboard