This script is very powerfull. Dont use this if you do not know what your doing!
it works like this:
!join (Channel)
Your bot will check if it is possible to join. If it is you get a succesful notice and it will join. If it isn't you get a error and your bot wont join and the script will be halted.
Only the host of the bot can use this command so dont worrie about others outside your home network to use it! (They get a error message)
on *:TEXT:?join*:#:{
if (!$(,$+(%,flood,$nick))) {
set -u3 $+(%,flood,$nick)
}
if ($address($nick,2) != $address($me,2)) {
notice $nick You need to be a Moderator of this bot to use this command.
return
}
notice $nick 5Conneting to $2 , Please wait......
if ($2 == $null) {
notice $nick 4Failed14 to join the channel because you didn't provide a channel name!
return
}
if ($me ison $2) {
.timer 1 3 notice $nick 4Failed14 to join $2 because I'm already in that channel!
return
}
set -u5 %!join $+ $2 $chan
join $2
}
else {
.timer 1 3 msg $chan 2Succesfully14 joined channel $chan
}
on *:JOIN:#:{
if ($eval($+(%,!join,$chan),2) != $null) {
.timer 1 3 msg $v1 3Successfully 5joined channel $chan
msg $chan 14I joined this channel because it was requested by the host of this Bot.
unset %!join $+ $chan
}
}
raw 474:*:{
if ($eval($+(%,!join,$2),2) != $null) {
notice Sphex 4Failed 14to join $2 because the bot has been banned from that channel.
unset %!join $+ $chan
}
}
lol they seem to have changed the description
they removed
This script is very powerful and completely written by me!
and replaced it with..
Dont use this if you do not know what your doing!
well about that.. that is why the notation in the description is key. so people will know how to use it.
also you should really test ur snippets before you post them...