Advertisement
Guest User

oocfix

a guest
Sep 26th, 2015
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.06 KB | None | 0 0
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE muclient>
  3. <!-- Saved on Saturday, September 26, 2015, 5:47 PM -->
  4. <!-- MuClient version 4.94 -->
  5.  
  6. <!-- Plugin "OOC_Fix" generated by Plugin Wizard -->
  7.  
  8. <muclient>
  9. <plugin
  10.    name="OOC_Fix"
  11.    author="Bagz"
  12.    id="1828f53e0f60fd8dec87cefe"
  13.    language="Lua"
  14.    purpose="Mute your own OOC ability while still monitoring OOC channel."
  15.    date_written="2015-09-26 17:43:55"
  16.    requires="1.00"
  17.    version="1.0"
  18.    >
  19. <description trim="y">
  20. <![CDATA[
  21. Basically I created this because I was constantly mischanning while RPing and I was worried it was going to get me killed or outcasted so I made this group of aliases and then turned it into a simple plugin.
  22.  
  23. oocfix on - - turns your new and ooc channel output off
  24. oocfix off - - turns your new and ooc channel output on
  25. ]]>
  26. </description>
  27.  
  28. </plugin>
  29.  
  30.  
  31. <!--  Get our standard constants -->
  32.  
  33. <include name="constants.lua"/>
  34.  
  35. <!--  Aliases  -->
  36.  
  37. <aliases>
  38.   <alias
  39.    match="oocfix off"
  40.    enabled="y"
  41.    send_to="12"
  42.    sequence="100"
  43.   >
  44.   <send>EnableAliasGroup ("oocfix", false)<![CDATA[
  45.   ColourNote ("silver", "purple", "OOCFIX OFF")]]></send>
  46.   </alias>
  47.   <alias
  48.    match="ooc *"
  49.    enabled="y"
  50.    group="oocfix"
  51.    omit_from_output="n"
  52.    sequence="100"
  53.   >
  54.   <send><![CDATA[
  55.   ColourNote ("silver", "purple", "SHHHHHH!!!")]]></send>
  56.   </alias>
  57.   <alias
  58.    match="new *"
  59.    enabled="y"
  60.    group="oocfix"
  61.    omit_from_output="y"
  62.    sequence="101"
  63.   >
  64.   <send><![CDATA[
  65.   ColourNote ("silver", "purple", "SHHHHHH!!!")]]></send>
  66.   </alias>
  67.   <alias
  68.    match="oocfix on"
  69.    enabled="y"
  70.    send_to="12"
  71.    sequence="100"
  72.   >
  73.   <send>EnableAliasGroup ("oocfix", true)<![CDATA[
  74.   ColourNote ("silver", "purple", "OOCFIX ON")]]></send>
  75.   </alias>
  76. </aliases>
  77.  
  78. <!--  Plugin help  -->
  79.  
  80. <aliases>
  81.   <alias
  82.    script="OnHelp"
  83.    match="OOC_Fix:help"
  84.    enabled="y"
  85.   >
  86.   </alias>
  87. </aliases>
  88.  
  89. <script>
  90. <![CDATA[
  91. function OnHelp ()
  92.   world.Note (world.GetPluginInfo (world.GetPluginID (), 3))
  93. end
  94. ]]>
  95. </script>
  96.  
  97. </muclient>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement