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.

every 5 minute try join and than pm owner

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
t
tdmondo
Voice
Posts: 5
Joined: Wed Feb 26, 2014 12:04 pm

every 5 minute try join and than pm owner

Post by tdmondo »

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?:)) 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!!!
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

if you do

Code: Select all

 .+chan #YourChan
From partyline, your will get that respons :)
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
t
tdmondo
Voice
Posts: 5
Joined: Wed Feb 26, 2014 12:04 pm

Post by tdmondo »

i want that script work for channel #xgamex :)
and my bot ownernickname is Tramatuc
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Add the channel to the bot with
.+chan #xgamex
and it will try to join it.

Code: Select all

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.
t
tdmondo
Voice
Posts: 5
Joined: Wed Feb 26, 2014 12:04 pm

Post by tdmondo »

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

thanks
Post Reply