Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #msgjoin on
- on *:text:!msgjoin *:#: {
- if ($nick isop $chan) {
- if ($2 == on) {
- set %joinmsgconf. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] on
- msg $chan Joinmsg on.
- }
- if ($2 == off) {
- set %joinmsgconf. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] off
- msg $chan Joinmsg off.
- }
- if ($2 == set) {
- set %joinmsgtext. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] $3-
- msg $chan Joinmsg Has Been Set.
- }
- }
- else {
- msg $chan $nick - Only channel operators may use this command.
- }
- }
- on !*:JOIN:#: {
- If (JL69 iswm $nick) goto hahe
- if ( %joinmsgconf. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] == on ) {
- set %joinmsgnick $nick
- msg $chan %joinmsgnick %joinmsgtext. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ]
- }
- hahe:
- halt
- }
- }
- #msgjoin end
Advertisement
Add Comment
Please, Sign In to add comment