Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- // Bind to ONSENDCHATMESSAGE and YOUR DROP KEY
- // MUST CHECK DROP KEY OPTION "Always override conflicting keybinds"
- // I TAKE NO RESPONSIBILITY FOR ANY ITEMS LOST DUE TO MY CRAPPY CODING
- IF(%KEYNAME%="onSendChatMessage")
- IFMATCHES(%CHAT%,^/drop)
- IFMATCHES(%CHAT%,^/drop$)
- KEY(drop)
- ENDIF
- IFMATCHES(%CHAT%,^/drop toggle$)
- IF(@dropkeydisabled)
- UNSET(@dropkeydisabled)
- LOG(&6[&4Drop&6] &aDropping items via key is now enabled.)
- ELSE
- SET(@dropkeydisabled)
- LOG(&6[&4Drop&6] &aDropping items via key is now disabled.)
- ENDIF
- ENDIF
- IFMATCHES(%CHAT%,^/drop enable$)
- UNSET(@dropkeydisabled)
- LOG(&6[&4Drop&6] &aDropping items via key is now enabled.)
- ENDIF
- IFMATCHES(%CHAT%,^/drop disable$)
- SET(@dropkeydisabled)
- LOG(&6[&4Drop&6] &aDropping items via key is now disabled.)
- ENDIF
- IFMATCHES(%CHAT%,^/drop yogurt$)
- LOG(&6[&4Drop&6] &aMade some yogurt.)
- LOG(&6[&4Drop&6] &aDropped the yogurt. :((()
- ENDIF
- FILTER
- ENDIF
- ELSE
- IF(@dropkeydisabled)
- LOG(&6[&4Drop&6] &aDropping items via key is disabled.)
- ELSE
- KEY(drop)
- ENDIF
- ENDIF
- }$$
Advertisement
Add Comment
Please, Sign In to add comment