Last active
February 22, 2017 22:09
-
-
Save zeldani/0c5191bfc39fe47dc380f6f1ee614b24 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Esse sera nosso primeiro tcl script :) | |
bind join - * join:voice_n_greet | |
proc join:voice_n_greet { nick host hand chan } { | |
if { $nick == "dtty" } { | |
pushmode $chan +o $nick | |
puthelp "PRIVMSG $chan :dtty eh o meu nick favorito. <3" | |
} else { | |
pushmode $chan +v $nick | |
puthelp "PRIVMSG $chan :Ahoy pirate $nick!" | |
} | |
return 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment