Skip to content

Instantly share code, notes, and snippets.

@zeldani
Last active February 22, 2017 22:09
Show Gist options
  • Save zeldani/0c5191bfc39fe47dc380f6f1ee614b24 to your computer and use it in GitHub Desktop.
Save zeldani/0c5191bfc39fe47dc380f6f1ee614b24 to your computer and use it in GitHub Desktop.
# 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