on unrealircd the command to see if services are on line is /ison chanserv
if true the result is <<notice>> chanserv
if false the result is <<notice>> blank
first how would i send that command in a tcl
would it be putserv "privmsg #chan :\001ISON chanserv"
if not what would the command be
second How would i trap the result
would it be bind notc * *whatever* proc_name
you send with putserv, but just plain 'putserv "ISON chanserv"'.
for the other things you will probably a bind to the notc or raw, depending on what the server responds to you.
If you read TCL-Commands.doc it will enlighten you how to do all this stuff (like seeing raw log, defining a proc to bind notc/raw etc.).
You didn't check the contents of the reply...the raw will be triggered even if the nick is not on...also keep in mind that the bot will use ISON while trying to regain its nick.
yeah like i said De Kus is da wo .... man (i did wonder about the girllie pic)
and what am i ... He He He !!! or her?.. actually i'm all man ... a big fat one.
anyways to the subject ..
yes i will be using if [lindex [split $text :] 1] == "chanserv"
along with a heap of other stuff so the bot can carry out duties in the absence of services.
and again thanks for your help
it's times like this i wish i had listened to what my dad used to say ....what was that ....don't know i didn't listen
NoZparker wrote:yeah like i said De Kus is da wo .... man (i did wonder about the girllie pic)
and what am i ... He He He !!! or her?.. actually i'm all man ... a big fat one.
I dislike to go on off topic, but maybe I should make 2 things clear ^-^.
1st: I am a man
2nd: the girly in the avatar is Naga from Slayers ( http://pixelscapes.com/slayers/characters.html ). I will probably switch to one from Lina, because I made that avatar before I watched any episode .
so do me a favor and quit this topic here, I have plenty of space in my PM and mail box ^^.