joinmsg.tcl - wilkowy/eggdrop-scripts GitHub Wiki
joinmsg.tcl v1.1 (2019-04-25)
Send custom message to joining people.
Script requires wilk.tcl to be present in the same directory.
Custom flags:
joinmsg- script is active only on channels with this flag (enable:.chanset #channel +joinmsg, disable:.chanset #channel -joinmsg)
Settings:
-
message- you need to customize this to your ownThree types of syntax are allowed (in processing order):
message(#channel,&handle)- message for users recognized as this handle (userlist)message(#channel,nick)- message only for this nickmessage(#channel)- default channel greeting message
Format:
message(#mychannel) [list message ...]Additional info:
- message is selected randomly from given list
- message can contain placeholders: #NICK#, #HAND#, #CHAN#
- use lowercase channel name, nick and handle
Example:
set message(#mychannel) [list "Hello #NICK#!" "Hi #NICK# on #CHAN#!"] -
ignored_users- users with such flags will be ignored (default: "I|I", off: "") -
antiflood_delay- prevents from join-floods, in seconds (default: 2, off: 0)