X-Fusion
Historical / Guest
I just want to say ASIF YOU PAY FOR THAT .</rant>
^ lol
The reason it isn't working is because you have...
if (TIME isin $1)
It should be...
If (TIME == $strip($1))
Edited Feb 13, 2007 11:18 PM by Warrior124
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 Feb 13, 2007 11:39 PM by egyptian
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 Feb 14, 2007 12:13 AM by Warrior124
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 Feb 14, 2007 1:40 AM by egyptian