This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

possible or not?

Help for those learning Tcl or writing their own scripts.
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

possible or not?

Post by pilouuu »

**cleared**
Last edited by pilouuu on Thu Feb 15, 2007 6:46 pm, edited 1 time in total.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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?
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

**cleared**
Last edited by pilouuu on Thu Feb 15, 2007 6:46 pm, edited 1 time in total.
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

nobody to help me?
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

deleted**
Last edited by pilouuu on Sat Mar 03, 2007 7:19 am, edited 1 time in total.
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

:/

need help! :D


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
User avatar
incith
Master
Posts: 275
Joined: Sat Apr 23, 2005 2:16 am
Location: Canada

Post by incith »

Code: Select all

proc myProc {nick uhand hand args} {
  global botnick

  if {$nick != $botnick} {
    putserv "PRIVMSG $chan :wasn't me!"
    return
  }
}
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

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
<----
User avatar
incith
Master
Posts: 275
Joined: Sat Apr 23, 2005 2:16 am
Location: Canada

Post by incith »

pilouuu wrote:<me(in cs server)>!rs
Uh.. in cs server? How do you expect the CS server to interact with your bot?
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

Uh.. in cs server? How do you expect the CS server to interact with your
it is already the case and that functions…
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

deleted**
Last edited by pilouuu on Sat Mar 03, 2007 7:22 am, edited 1 time in total.
User avatar
incith
Master
Posts: 275
Joined: Sat Apr 23, 2005 2:16 am
Location: Canada

Post by incith »

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?
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

deleted**
Last edited by pilouuu on Sat Mar 03, 2007 7:23 am, edited 1 time in total.
User avatar
incith
Master
Posts: 275
Joined: Sat Apr 23, 2005 2:16 am
Location: Canada

Post by incith »

Try this instead:

Code: Select all

if {[string match -nocase "*!exec war.cfg" $arguments]} {
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

hmm no...
because everyone could use it.
Post Reply