SHARE
TWEET

New MyAffliction script

a guest Nov 9th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function MyAfflictions(eventname, data)
  2.  
  3.     if eventname == "svo got aff" then
  4.         if data == "prone" then
  5.             if not IgnoreProne then
  6.                 send("recover")
  7.             end
  8.         end
  9.     end
  10.    
  11.     if eventname == "svo lost aff" then
  12.         if data == "crippledleftleg" or data == "crippledrightleg" then
  13.             if svo.affl.prone then
  14.                 send("recover")
  15.             end
  16.         end
  17.     end
  18. end
  19.  
  20.  
  21. registerAnonymousEventHandler("svo got aff", "MyAfflictions")
  22. registerAnonymousEventHandler("svo lost aff", "MyAfflictions")
  23. registerAnonymousEventHandler("svo updated aff", "MyAfflictions")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top