Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="iso-8859-1"?>
- <!DOCTYPE muclient>
- <!-- Saved on Saturday, October 18, 2008, 11:45 PM -->
- <!-- MuClient version 4.19 -->
- <!-- Plugin "LotJ_TNL" generated by Plugin Wizard -->
- <muclient>
- <plugin
- name="LotJ_TNL"
- author="Xavier"
- id="a4e74a554c75bb899cb8f197"
- language="VBscript"
- purpose="Calculates experience to next level."
- save_state="y"
- date_written="2008-10-18 23:43:56"
- requires="4.19"
- version="1.0"
- >
- </plugin>
- <!-- Get our standard constants -->
- <include name="constants.vbs"/>
- <!-- Triggers -->
- <triggers>
- <trigger
- enabled="y"
- match="*Level: *Max: *Exp: *Next: *"
- repeat="y"
- script="calcTNL"
- sequence="100"
- >
- </trigger>
- </triggers>
- <!-- Script -->
- <script>
- <![CDATA[
- sub calcTNL(name, line, wildcards)
- dim nextXP
- dim currXP
- dim TNL
- currXP=wildcards(4)
- nextXP=wildcards(5)
- if currXP <> "???" AND nextXP <> "???" then
- TNL = int(nextXP)-int(currXP)
- ANSInote "" & ANSI(30) & wildcards(1) & ANSI(0) & ANSI(36) & "TNL: " & ANSI(0) & ANSI(32) & TNL
- end if
- end sub
- ]]>
- </script>
- </muclient>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement