| View previous topic :: View next topic |
| Author |
Message |
smash Halfop
Joined: 31 Jul 2006 Posts: 45
|
Posted: Sun Nov 19, 2006 4:45 pm Post subject: version |
|
|
can some 1 tell me how to make,
/msg botnick version
the bot will anser putserv NOTICE $nick :bla bla bla
thanks! |
|
| Back to top |
|
 |
Justdabomb2 Voice
Joined: 29 Sep 2006 Posts: 37 Location: United States of America
|
Posted: Sun Nov 19, 2006 5:16 pm Post subject: |
|
|
maybe
| Code: |
bind msg - version show:version
proc show:version {nick host hand chan rest} {
putserv "NOTICE $nick :bla bla bla"
}
|
I didn't test it or anything... just typed it up real quick... try it out. _________________ Yeah!
Last edited by Justdabomb2 on Mon Nov 20, 2006 2:12 am; edited 2 times in total |
|
| Back to top |
|
 |
smash Halfop
Joined: 31 Jul 2006 Posts: 45
|
Posted: Sun Nov 19, 2006 7:37 pm Post subject: |
|
|
thanks i tryed that but it dident work.
so i had a play with it, and changed it to this.
| Code: | bind msg - version
proc msg:version {nick uhost hand rest} {
putserv "NOTICE $nick :bla bla bla"
}
|
witch now works  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Nov 19, 2006 7:58 pm Post subject: |
|
|
| smash wrote: | thanks i tryed that but it dident work.
so i had a play with it, and changed it to this.
| Code: | bind msg - version
proc msg:version {nick uhost hand rest} {
putserv "NOTICE $nick :bla bla bla"
}
|
witch now works  |
Good work.
This is exactly why these forums exist. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Nov 19, 2006 8:01 pm Post subject: |
|
|
But what's funny is that what Justdabomb2 wrote was correct (except for having a 'chan' argument in the proc) and what smash wrote will never load since there are missing arguments for the bind command (proc name)  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Nov 19, 2006 8:21 pm Post subject: |
|
|
I should have looked closer.
I would hazard a guess a certain bot may not have been restarted?
| Code: | bind msg - version show:version
proc show:version {nick host hand rest} {
putserv "NOTICE $nick :bla bla bla"
} |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Justdabomb2 Voice
Joined: 29 Sep 2006 Posts: 37 Location: United States of America
|
Posted: Mon Nov 20, 2006 2:11 am Post subject: |
|
|
lol, oops. I guess I am so used to just putting "chan" becuase I use that a lot when I script. Like I said, I just made it real quick. :p _________________ Yeah! |
|
| Back to top |
|
 |
|