Guest User

Untitled

a guest
Jul 17th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. elseif ($regex($1,/^[!.]active/Si)) && ($nick !isreg #) {
  2. if (!$gettok($hget(active,active),$nick,32)) {
  3. notice $nick You have been added to the list of Keyers available to take leeches. Time added: $time
  4. hadd -ma active active $hget(active,active) $nick
  5.  
  6. }
  7. elseif ($gettok($hget(active,active),$nick,32)) {
  8. notice $nick You are already on the list of active keyers
  9. }
  10. elseif (!$nick !isreg) { notice $nick You are not a keyer!
  11. }
  12. }
  13. elseif ($regex($1,/^[!.]remove/Si)) && ($nick !isreg #) {
  14. if ($gettok($hget(active,active),$nick,32)) {
  15. notice $nick You have been removed from the list of keyers able to take leeches.
  16. hadd active active $remtok($hget(active,active),$nick,1,32)
  17. }
  18. elseif (!$gettok($hget(active,active),$nick,32)) {
  19. notice $nick You are not currently on the list of available keyers!
  20. }
  21. }
  22. elseif ($regex($1,/^[!.]open/Si)) {
  23. msg # 2 The list of keyers available to take leechers is as follows:3 $hget(active,active)
  24. }
Add Comment
Please, Sign In to add comment