pony

Join msg

Jul 14th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. Copy paste Remotes New
  2.  
  3.  
  4. on *:text:!msgjoin *:#: {
  5. if ($nick isop $chan) {
  6. if ($2 == on) {
  7. set %joinmsgconf. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] on
  8. msg $chan Joinmsg on.
  9. }
  10. if ($2 == off) {
  11. set %joinmsgconf. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] off
  12. msg $chan Joinmsg off.
  13. }
  14. if ($2 == set) {
  15. set %joinmsgtext. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] $3-
  16. msg $chan Joinmsg Has Been Set.
  17. }
  18. }
  19. else {
  20. msg $chan $nick - Only channel operators may use this command.
  21. }
  22. }
  23. Β 
  24. on !*:JOIN:#: {
  25. if ( %joinmsgconf. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] == on ) {
  26. set %joinmsgnick $nick
  27. msg $chan %joinmsgnick %joinmsgtext. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ]
  28. }
  29. }Β 
  30. }
  31.  
  32.  
  33.  
  34.  
  35.  
  36. =====================================================
  37. Copy and place in Popup Channel
  38.  
  39. Joinmsg
  40. .Set Chan
  41. ..Chan on {
  42. set %joinmsgconf. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] on
  43. msg $chan Joinmsg on.
  44. }
  45. ..Chan off {
  46. set %joinmsgconf. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] off
  47. msg $chan Joinmsg off.
  48. }
  49.  
  50. ..Set Mess {
  51. set %joinmsgtext. [ $+ [ $network ] $+ ] . [ $+ [ $chan ] ] $$?="Room on join message"
  52. msg $chan Joinmsg Has Been Set.
  53. }
Advertisement
Add Comment
Please, Sign In to add comment