Hello.. The topic says mutch of it that i want
Im looking for a script that add a to the bot and the bot dose /amsg looking for a clan for war
but i want this to work for everyone not only one clan.
something like this..
!Cw 5v5/4v4 <- and the bot says in all the channels who wants the cw and what channel thay are in like #cwchannel or something.
Anyone know where i can find one of that kind?
set post(channel) "#channel"
bind PUB -|- !cw post:message
proc post:message { nickname hostname handle channel arguments } {
global post
if {![string equal -nocase $channel "$post(channel)"]} { return }
set post(mode) [lindex [split $arguments] 0]
if {$post(mode) == ""} {
putquick "NOTICE $nickname :Please use !cw <1/2/3/4v1/2/3/4> <high/medium/low>"
return 0
} else {
set post(poster) $nickname
set post(skill) [lindex [split $arguments] 1]
if {$post(skill) == ""} {
putquick "NOTICE $nickname :Please use !cw 1/2/3/4v1/2/3/4 <high/medium/low>"
} else {
foreach chan [channels] {
putserv "PRIVMSG $chan :$post(poster) is looking for a $post(mode), Skill: $post(skill)"
}
}
}
}
This is just a simple code but it should work, if you need something better i suggest you code something yourself cause i sure aren't going to do it for you