Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Liste des variables
- # Liste des vhosts
- set host {
- *@domaine.org
- }
- set vhostadmin {
- NetAdmin@domaine.org
- TechAdmin@domaine.org
- }
- bind pub - !restart myrestart
- proc myrestart {nick host hand chan arg} {
- global $vhostadmin
- set ad "#Admin"
- if {$host eq $vhostadmin} {
- putquick "PRIVMSG $ad :$nick à utiliser la commande !restart"
- restart
- } else { return 0 }
- }
Add Comment
Please, Sign In to add comment