PHP Kod: Kodu kopyalamak için üzerine çift tıklayın!
set topic(kanal) "#mIRCTurk"
set topic(user) "CLubber"
set topic(online) "Welcome my channel, status online!"
set topic(offline) "Welcome my channel, status offline!"
bind join - "*" msg:join
proc msg:join {nick uhost hand chan} {
global botnick topic
if {[string match -nocase "$topic(user)" $nick]} {
putquick "PRIVMSG IRC TOPIC $topic(kanal) $topic(online)"
}
}
bind sign - "*" msg:quit
proc msg:quit {nick uhost hand chan reason} {
global botnick topic
if {[string match -nocase "$topic(user)" $nick]} {
putquick "PRIVMSG IRC TOPIC $topic(kanal) $topic(offline)"
}
}