topic question - 24/07/04 11:00 AM
on *^:Topic:#: {
hadd -m topics $+($cid,:,#,:,$calc($hmatch(topics,$+($cid,:,#,:*),0)+1)) $1-
}
on 1:dialog:channelcentral:init:0: {
did -a channelcentral 43 %topic
}
^----dont show all the topics set while i been in room. how do i get it to show all topics?
on 1:dialog:channelcentral:sclick:34: {
if ($did(43) !== $null) {
.topic %chan1 $did(43).text
}
}
^----------------this werks if topic has sumthing there but how do u get it to reset the topic back to a blank one?
thanx
hadd -m topics $+($cid,:,#,:,$calc($hmatch(topics,$+($cid,:,#,:*),0)+1)) $1-
}
on 1:dialog:channelcentral:init:0: {
did -a channelcentral 43 %topic
}
^----dont show all the topics set while i been in room. how do i get it to show all topics?
on 1:dialog:channelcentral:sclick:34: {
if ($did(43) !== $null) {
.topic %chan1 $did(43).text
}
}
^----------------this werks if topic has sumthing there but how do u get it to reset the topic back to a blank one?
thanx