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 

every 5 minute try join and than pm owner

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
tdmondo
Voice


Joined: 26 Feb 2014
Posts: 5

PostPosted: Wed Feb 26, 2014 12:11 pm    Post subject: every 5 minute try join and than pm owner Reply with quote

hello guys
i need help if anyone care
help about TCL script for Eggdrop bot

ok i`ll explain what help i need

------------------------------------------------
id est one channel is closed at this moment and it will be reopen soon
so i want make that tcl script

i want my Bot try to join that channel every 5 minute and if bot will be joined that channel private msg owner hello i am on channel #xxxxxx already

understand guys what i mean?Smile) sorry my bad english

i know simply command on mirc but tcl dontk now

//timer1 0 300 /join #channel

and is it possible what i said before??

try join channel every 5 minute and if it will be joined there pm owner...


thanks before!!!
Back to top
View user's profile Send private message
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Wed Feb 26, 2014 12:22 pm    Post subject: Reply with quote

if you do
Code:
 .+chan #YourChan


From partyline, your will get that respons Smile
_________________
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
Back to top
View user's profile Send private message MSN Messenger
tdmondo
Voice


Joined: 26 Feb 2014
Posts: 5

PostPosted: Wed Feb 26, 2014 1:28 pm    Post subject: Reply with quote

i want that script work for channel #xgamex Smile
and my bot ownernickname is Tramatuc
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Thu Feb 27, 2014 7:38 am    Post subject: Reply with quote

Add the channel to the bot with
Quote:

.+chan #xgamex

and it will try to join it.
Code:

bind join * bot:joined

proc bot:joined {nick uhost hand chan} {
   if {![isbotnick $nick]} return
   if {[string match -nocase "#xgamex" $chan]}
      puthelp "PRIVMSG Tramatuc :hello i am on channel #xgamex already!"
}

_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
tdmondo
Voice


Joined: 26 Feb 2014
Posts: 5

PostPosted: Thu Feb 27, 2014 8:48 am    Post subject: Reply with quote

thank you very much!!!!!!!!!!!!

thanks
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 -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
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