Can someone give me script for calculate date
example now
dd/mm/yyyy = 03/10/2012
time ban
when i type @ban <nick> <day>
he will time-ban that <nick> for <day>
and then will auto-unbanned
thanks
ban are usualy set in seconds so a day will = 86440
are you trying to get it to respond to @ban if so then you need to set up a alias i can help if ya let me know what you want it to do
@ban needs to be set as a alias and so does day
example for ban for 1 day
/ban -ku86400 # $$1 4You have been Ban for 1 Day
thats used in a remote script
or manuel ban= /ban -ku86400 #channel nicknamehere You have been Ban for 1 Day
PS when the ban is set for 1 day " 86400" the timer auto starts the count down to remove it
but to have it react to @ban nick day it will have to be scripted to pick up on that easy to do
like
on ^*:TEXT:@ban*:#:{
if ($nick isop #) && ($3 == day)
/ban -ku86400 # $2 4You have been Ban for 1 Day
the timer will auto start the countdown to remove it in 86400 sec which = 1 day 24 hours
just set up alias for different remarks least i would
that can be loaded in remote so when you type @ban nick day
it will set a ban for 1 day and auto remove it
we can go deeper if ya want the complete script let me know
are you can reach me on irc.star-fleet.net channel #tmd nick Ace