Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:*:#: {
- if ($strip($1) == !chuck) { .msg $chan $replace($read(scripts/chuck.txt), Chuck Norris,04Chuck Norris)}
- if ($strip($1) == !addchuck) { write scripts/chuck.txt $2- | .notice $nick Your Chuck joke " $+ $2- $+ " has been added! }
- if ($strip($1) == !remchuck) {
- if ($2- == $read(scripts/chuck.txt)) {
- write -d scripts/chuck.txt
- .notice $nick Your Chuck joke " $+ $2- $+ " has been removed!
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement