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 

Customizing greet script

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


Joined: 26 Mar 2007
Posts: 1

PostPosted: Fri Sep 14, 2007 9:30 am    Post subject: Customizing greet script Reply with quote

I was wondering if it is possible to customize greet script this way: if someone using nick Bitch123 enters the channel, bot sends him/her one message, if someone using nick Popey123 enters, bot sends him/her different message, etc...

Like mirc code if ( bitch isin $nick ) etc...

Any idea how to do this, or any script already made?

Thx & cheers Very Happy
Back to top
View user's profile Send private message Send e-mail
iamdeath
Master


Joined: 11 Feb 2005
Posts: 323
Location: *HeLL*

PostPosted: Sat Sep 15, 2007 1:12 am    Post subject: Reply with quote

Code:
bind join - * greet:proc

greet:proc {nick uhost hand chan} {
 if {[string match -nocase "*Bitch123*" $nick]} {
   putserv "PRIVMSG $nick :Text comes here"
} elseif {[string match -nocase "*Nick123*" $nick]} {
   putserv "PRIVMSG $nick :Text comes here"
}
return
}

_________________
|AmDeAtH @ Undernet


Death is only the *Beginning*...
Back to top
View user's profile Send private message Visit poster's website
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