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.

!join

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
G
Goga
Halfop
Posts: 83
Joined: Sat Sep 19, 2020 2:12 am

!join

Post by Goga »

Can anyone please give me a little script for eggdrop to join channel by command :-
!join #Channel
Thanks.
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

Code: Select all

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
Last edited by ComputerTech on Wed Feb 10, 2021 4:49 am, edited 2 times in total.
ComputerTech
G
Goga
Halfop
Posts: 83
Joined: Sat Sep 19, 2020 2:12 am

Post by Goga »

Not Working.
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

Try above edited code, sinple typo :wink:
ComputerTech
User avatar
CrazyCat
Revered One
Posts: 1236
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

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.
Post Reply