Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- // Bind to onSendChatMessage and onHealthChange
- IF(%KEYNAME%="onHealthChange")
- IF(%@panicspawn%)
- IF(%HEALTH% < 6)
- ECHO(/spawn)
- ENDIF
- ENDIF
- ELSE
- IFMATCHES(%CHAT%,"^/panicspawn")
- FILTER
- IF(%@panicspawn%)
- UNSET(@panicspawn)
- LOG(&6[&4PANIC SPAWN&6] &aAuto /spawn off)
- ELSE
- SET(@panicspawn)
- LOG(&6[&4PANIC SPAWN&6] &aAuto /spawn on)
- ENDIF
- ENDIF
- ENDIF
- }$$
Advertisement
Add Comment
Please, Sign In to add comment