Advertisement
outsider

Simple eggdrop welcome script

Dec 28th, 2017
910
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.44 KB | None | 0 0
  1. #to use do this on the partyline
  2. # .chanset <channel> +welcome
  3. # .chanset <channel> welcome_msg "<the welcome message>"
  4.  
  5. setudef flag welcome
  6. setudef str welcome_message
  7.  
  8. bind join - welcome:join
  9. proc welcome:join {nick host hand chan} {
  10.     if {![channel get $chan welcome]} { return }
  11.     if {[channel get $chan welcome_message] eq ""} { return }
  12.     putserv "NOTICE $nick :[channel get $chan welcome_message]"
  13. }
  14.  
  15. putlog "welcome script loaded"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement