egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

possible or not?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Tue Feb 13, 2007 1:47 am    Post subject: possible or not? Reply with quote

**cleared**

Last edited by pilouuu on Thu Feb 15, 2007 6:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Feb 13, 2007 3:26 am    Post subject: Reply with quote

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
View user's profile Send private message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Tue Feb 13, 2007 3:39 am    Post subject: Reply with quote

**cleared**

Last edited by pilouuu on Thu Feb 15, 2007 6:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Wed Feb 14, 2007 10:50 am    Post subject: Reply with quote

nobody to help me?
Back to top
View user's profile Send private message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Wed Feb 14, 2007 8:47 pm    Post subject: Reply with quote

deleted**

Last edited by pilouuu on Sat Mar 03, 2007 7:19 am; edited 1 time in total
Back to top
View user's profile Send private message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Sat Feb 17, 2007 7:22 pm    Post subject: Reply with quote

:/

need help! Very Happy


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
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sat Feb 17, 2007 9:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Sat Feb 17, 2007 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sat Feb 17, 2007 11:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Sun Feb 18, 2007 1:00 am    Post subject: Reply with quote

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
View user's profile Send private message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Sun Feb 18, 2007 1:09 am    Post subject: Reply with quote

deleted**

Last edited by pilouuu on Sat Mar 03, 2007 7:22 am; edited 1 time in total
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sun Feb 18, 2007 2:06 am    Post subject: Reply with quote

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
View user's profile Send private message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Sun Feb 18, 2007 3:13 am    Post subject: Reply with quote

deleted**

Last edited by pilouuu on Sat Mar 03, 2007 7:23 am; edited 1 time in total
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Sun Feb 18, 2007 4:03 am    Post subject: Reply with quote

Try this instead:
Code:
if {[string match -nocase "*!exec war.cfg" $arguments]} {

_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Sun Feb 18, 2007 4:49 am    Post subject: Reply with quote

hmm no...
because everyone could use it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber