Discussion:
help help help
(too old to reply)
Grumpy
2005-08-02 07:23:51 UTC
Permalink
I have some names in my notify list, and instead of watching my notify, I
want a message to be sent to me, but it does not work, The names appear on
the notify, but only the fist name gets picked up

on 1:NOTIFY: if (fred isin $nick) /msg mynic Watched nick Online - Friend-
$nick , $address
on 1:NOTIFY: if (joe isin $nick) /msg mynic Watched nick Online - Foe -
$nick , $address
on 1:NOTIFY: if (harry isin $nick) /msg mynic Watched nick Online -
Grumble - $nick , $address

Any ideas what the best way of doing this is???

Thanks
Yohan G.
2005-08-02 22:14:32 UTC
Permalink
Post by Grumpy
I have some names in my notify list, and instead of watching my
notify, I want a message to be sent to me, but it does not work, The
names appear on the notify, but only the fist name gets picked up
on 1:NOTIFY: if (fred isin $nick) /msg mynic Watched nick Online -
Friend- $nick , $address on 1:NOTIFY: if (joe isin $nick) /msg mynic
Watched nick Online - Foe - $nick , $address on 1:NOTIFY: if (harry
isin $nick) /msg mynic Watched nick Online - Grumble - $nick ,
$address
Any ideas what the best way of doing this is???
Thanks
Try this ^^

on 1:NOTIFY:{
if (fred isin $nick) { /msg $me Watched nick Online -Friend- > $nick
$+ , $address($nick,5) }
if (joe isin $nick) { /msg $me Watched nick Online - Foe - $nick $+ ,
address($nick,5) }
if (harry isin $nick) { /msg $me Watched nick Online - Grumble -
$nick $+ , address($nick,5) }
}

Continue reading on narkive:
Loading...