egyptian Posted February 13, 2007 Author Report Share Posted February 13, 2007 (edited) thanks alot working now but should use strip not as before without strip and why its sendin a time to all channels i am in Edited February 13, 2007 by egyptian Link to comment Share on other sites More sharing options...
Warrior124 Posted February 14, 2007 Report Share Posted February 14, 2007 (edited) Here is what I have... ctcp *:*:*: { if (TIME == $strip($1)) { msg $comchan($nick,1) My Time is... Hmm! Sorry, $nick $+ . Check back sometime soon. :D haltdef } } You might want something like this... ctcp *:*:*: { if (TIME == $strip($1)) { access $comchan($nick,1) add deny $ial($nick).addr 5 kick $comchan($nick,1) $nick [Don't Check My Time!!] haltdef } } P.S.: The reason to use the $strip command is because some people uses color codes in their text, and needs to be stripped to use the commands properly. Edited February 14, 2007 by Warrior124 Link to comment Share on other sites More sharing options...
egyptian Posted February 14, 2007 Author Report Share Posted February 14, 2007 (edited) thanks alot for that i was using it in vincula like this ctcp *:TIME:*: { if ($sock(msn.*. $+ $cid,0) >= 2) { echo $color(ctcp) -a Time Request by $nick .ctcpreply $nick TIME $date $+ , $time haltdef } } so its here the same or it will do the local time just once not twice then halt right ? Edited February 14, 2007 by egyptian Link to comment Share on other sites More sharing options...
Warrior124 Posted February 14, 2007 Report Share Posted February 14, 2007 thanks alot for that i was using it in vincula like this ctcp *:TIME:*: { if ($sock(msn.*. $+ $cid,0) >= 2) { echo $color(ctcp) -a Time Request by $nick .ctcpreply $nick TIME $date $+ , $time haltdef } } so its here the same or it will do the local time just once not twice then halt right ? Actually, the haltdef should stop it from sending the time to the person requesting it. Link to comment Share on other sites More sharing options...
egyptian Posted February 14, 2007 Author Report Share Posted February 14, 2007 thx alot for ur help again Link to comment Share on other sites More sharing options...
Recommended Posts