| View previous topic :: View next topic |
| Author |
Message |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Tue Feb 13, 2007 1:47 am Post subject: possible or not? |
|
|
**cleared**
Last edited by pilouuu on Thu Feb 15, 2007 6:46 pm; edited 1 time in total |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Tue Feb 13, 2007 3:26 am Post subject: |
|
|
| If the nick actually contained a steamid, yeah it could be done. Or if you had some data file with nick and steamid corresponding in it. Otherwise, how would the bot know a nick's steamid unless you tell it so on the commandline? |
|
| Back to top |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Tue Feb 13, 2007 3:39 am Post subject: |
|
|
**cleared**
Last edited by pilouuu on Thu Feb 15, 2007 6:46 pm; edited 1 time in total |
|
| Back to top |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Wed Feb 14, 2007 10:50 am Post subject: |
|
|
| nobody to help me? |
|
| Back to top |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Wed Feb 14, 2007 8:47 pm Post subject: |
|
|
deleted**
Last edited by pilouuu on Sat Mar 03, 2007 7:19 am; edited 1 time in total |
|
| Back to top |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Sat Feb 17, 2007 7:22 pm Post subject: |
|
|
:/
need help!
it not possible?
with two bot that functions...
I seek has to make it function with only one bot.
....
if {[isbotnick $argment....]} { ...
if {[isbotnick $say]} { lol
?? help |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Sat Feb 17, 2007 9:20 pm Post subject: |
|
|
| Code: | proc myProc {nick uhand hand args} {
global botnick
if {$nick != $botnick} {
putserv "PRIVMSG $chan :wasn't me!"
return
}
}
|
_________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Sat Feb 17, 2007 10:34 pm Post subject: |
|
|
thx for help.
not running
it is not what I seek
i seek:
<me> !bla
<bot> proc bla bla loaded
<bot> !bla <----
<bot> proc bla bla loaded <---- |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Sat Feb 17, 2007 11:44 pm Post subject: |
|
|
| pilouuu wrote: | | <me(in cs server)>!rs |
Uh.. in cs server? How do you expect the CS server to interact with your bot? _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Sun Feb 18, 2007 1:00 am Post subject: |
|
|
| Quote: | | Uh.. in cs server? How do you expect the CS server to interact with your |
it is already the case and that functions… |
|
| Back to top |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Sun Feb 18, 2007 1:09 am Post subject: |
|
|
deleted**
Last edited by pilouuu on Sat Mar 03, 2007 7:22 am; edited 1 time in total |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Sun Feb 18, 2007 2:06 am Post subject: |
|
|
pilouu, I think what you want is the bot to !exec war.cfg when you do it from CS?
If that's the case, since your bot is already saying "<bot in irc> Pilou<4><STEAM_0:1:123456><TERRORIST> !exec war.cfg" then you should be able to process that input and exec the command as required? _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Sun Feb 18, 2007 3:13 am Post subject: |
|
|
deleted**
Last edited by pilouuu on Sat Mar 03, 2007 7:23 am; edited 1 time in total |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Sun Feb 18, 2007 4:03 am Post subject: |
|
|
Try this instead:
| Code: | | if {[string match -nocase "*!exec war.cfg" $arguments]} { |
_________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Sun Feb 18, 2007 4:49 am Post subject: |
|
|
hmm no...
because everyone could use it. |
|
| Back to top |
|
 |
|