Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. alias cc1 return $+($chr(3),01,$1-)
  2. alias cc2 return $+($chr(3),10,$1-)
  3. on *:part:#: if ($nick == $me) remini chans.ini $chan
  4. on *:invite:#: {
  5. if ($me == CookieScript) {
  6. if (!$readini(chans.ini,$chan,nick)) {
  7. var %c $gettok([01] $null,$r(1,2),32)
  8. .notice CookieScript $+ %c JOIN $chan
  9. msg #CookieScript $cc1( •••) $cc1($chr(40)) $+ $cc2(INVITE) $+ $cc1($chr(41)) $cc1(I was invited to) $cc2($chan) $cc1(by) $cc2($nick) $+ $cc1(.) $cc1(I sent:) $cc2(Grr $+ %c)
  10. set %j $+ $chan $nick
  11. }
  12. else msg #CookieScript $cc1( •••) $cc1($chr(40)) $+ $cc2(INVITE) $+ $cc1($chr(41)) $cc2($nick) $cc1(tried inviting me to) $cc2($chan) $cc1(but) $cc2($readini(chans.ini,$chan,nick)) $cc1(was already on the channel.)
  13. }
  14. }
  15. on *:notice:JOIN *:?: {
  16. if ($nick == CookieScript) {
  17. if ($chan(0) == 30) || ($me ison $2-) $iif($me !ison $2-,.notice Cookiescript REJOIN $2-)
  18. else $1-
  19. }
  20. }
  21. on *:notice:REJOIN *:?: {
  22. if ($me == CookieScript) {
  23. .notice CookieScript $+ $gettok([01] $null,$r(1,2),32) JOIN $2-
  24. }
  25. }
  26. on *:join:#: {
  27. if ($me != CookieScript) { halt }
  28. if ($nick == $me) {
  29. msg # 1••• (10JOIN1):10 $me 1bot has joined $chan - Bot tag:10 $right($iif($me == CookieScript,[00],$me),4) - 1Made by: 10Omg1 - Invited by:10 $iif(%j [ $+ [ $chan ] ],$v1,[Auto-Join]) 1- Any problems? Join #Innocence to tell us! 1- Try out DropParty 10/invite dropparty $chan 1-
  30. if ($($+(%,j,$chan),2)) unset %j $+ $chan
  31. writeini chans.ini $chan nick $me
  32. }
  33. }
  34.  
  35. on $*:TEXT:/^[!@~.^](part|leave|gtfo)/Si:#: {
  36. if ($nick isop $chan || $nick ishop $chan) && ($2 == $me) || ($2 == All) {
  37. remini chans.ini $chan
  38. .msg #CookieScript Ive been parted from $chan by10 $nick $+ 1. Reason:10 $iif($3,$3-,No Reason)
  39. part $chan 1Requested by10 $+($nick,.) 1You can invite me back in by doing 10/invite $me $chan
  40. }
  41. }
  42.  
  43. on *:KICK:#: {
  44. if ($knick == $me) { .msg #CookieScript I was kicked from $chan by10 $nick $+ 1. Reason:10 $1-
  45. remini chans.ini $chan
  46. }
  47. }
  48.  
  49.  
  50. on $*:TEXT:/^[!@.]blchan/Si:#: {
  51. if (%admin [ $+ [ $address($nick,2) ] ] == yes) {
  52. if (%blackl [ $+ [ $2 ] ] == Yes) { notice $nick $2 is already blacklisted. | halt }
  53. set %blackl $+ $2 YES
  54. set %blackreason $+ $2 $iif($3,$3-,No Reason)
  55. notice $nick Channel $2 has been blacklisted!
  56. }
  57. }
  58. on $*:TEXT:/^[!@.]rblchan/Si:#: {
  59. if (%admin [ $+ [ $address($nick,2) ] ] == Yes) {
  60. if (%blackl [ $+ [ $2 ] ] != Yes) { notice $nick $2 has not been blacklisted before. | halt }
  61. unset %blackl $+ $2
  62. unset %blackreason $+ $2
  63. notice $nick Channel $2 has been un-blacklisted!
  64. }
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement