join and topik - 10/06/05 05:01 PM
how to make that on join if i am op and if topic is empty to do / topic something...
coz i dont see $topic identifier :P
coz i dont see $topic identifier :P
on *:join:#yourchan: { if ($nick == $me) { .timer 1 5 set.topic $chan } } alias set.topic { if ($me isop $1 && !$chan($1).topic) { topic New topic } }
on *:op:#[color:red]channel[/color]:{ if ($opnick == $me) && ($chan($chan).topic == $null) topic $chan [color:red]topic here[/color] }
on *:op:[color:red]#channel[/color]:{ if ($opnick == $me) && ($chan($chan).topic == $null) topic [color:red]topic here[/color] }