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 

!join

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


Joined: 19 Sep 2020
Posts: 78

PostPosted: Tue Feb 09, 2021 5:26 am    Post subject: !join Reply with quote

Can anyone please give me a little script for eggdrop to join channel by command :-
!join #Channel
Thanks.
Back to top
View user's profile Send private message
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 393

PostPosted: Tue Feb 09, 2021 5:45 am    Post subject: Reply with quote

Code:

bind pub - "!join" join:chan

proc join:chan {nick host hand chan text} {
set c [lindex [split $text] 0]
channel add $c
putserv "NOTICE $nick :Joining $c"
}


Not tested


EDIT fixed typo
_________________
ComputerTech


Last edited by ComputerTech on Wed Feb 10, 2021 4:49 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Goga
Halfop


Joined: 19 Sep 2020
Posts: 78

PostPosted: Wed Feb 10, 2021 2:17 am    Post subject: Reply with quote

Not Working.
Back to top
View user's profile Send private message
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 393

PostPosted: Wed Feb 10, 2021 4:49 am    Post subject: Reply with quote

Try above edited code, sinple typo Wink
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Wed Feb 10, 2021 8:50 am    Post subject: Reply with quote

Goga wrote:
Not Working.


When something doesn't work, it's helpfull to give the error message, and use .set errorInfo in partyline to have more informations about it.

Help us to help you.

And you have already a good example in http://forum.egghelp.org/viewtopic.php?t=20901 which is a thread YOU have initiated.
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
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