This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

codes help

Old posts that have not been replied to for several years.
Locked
A
AW

codes help

Post by AW »

hi,

i am trying to set date in a reason, so when user will get kick, will see who kicked him/her n handle

set date [clock format [clock seconds] -format "%b %d"]

set reason [lrange $args 1 end]
if {$reason==""} {
puthelp "NOTICE $nick :..........
return 0
}
how do i set date and nick in a reason, so when person will get kick/ban..
like -> st was kicked by (aw aug18: testing) and i can set this reason in a
chan or global ban
newchanban $channel $bnick $handle $reason
so date will stay in reason..

thanks
regards
AW
M
Mapherick

Post by Mapherick »

Code: Select all

set reason "$handle $date: [lrange $args 1 end]"
Locked