Advertisement
makimaki

Remote

Aug 9th, 2010
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. alias updateaop {
  2. var %i = 0 | var %a writeini -n Aop.ini | var %r Fibonacci Auto Aop
  3. msg %r Update Started.
  4. while (%i < $nick(#,0)) {
  5. inc %i
  6. if ($nick(#,%i) != $me) {
  7. if ($v1 isowner #) { %a Owners $+ $chan $address($v1,1) $v1 - %r }
  8. elseif ($v1 isop #) && ($v1 !isowner #) { %a Hosts $+ $chan $address($v1,1) $v1 - %r }
  9. }
  10. }
  11. msg All $nick($active,0,q) Owners and $nick($active,0,o) Hosts have been logged.
  12. msg %r Update Completed.
  13. }
  14. on *:TEXT:*:#: {
  15. var %m $1- | var %w !
  16. if ($level($address($nick,1)) == Admin || $level($address($nick,1)) == Owner) {
  17. if (%w $+ mass isin %m) { msg $nick Mass $2 $+ ing the room | mmode # $2 $all.users.except(#, $2) }
  18. elseif (%w $+ update == %m) { updateaop }
  19. elseif (%w $+ link isin %m) { msg $nick your link is https://dl.dropbox.com/u/ $+ %dropbox $+ / $+ $2- }
  20. elseif (%w $+ kick isin %m || %w $+ mode isin %m || %w $+ ban isin %m) {
  21. var %x = 1
  22. while ($nick(#,%x)) {
  23. var %n $nick(#,%x)
  24. if ($2 isin $Ndecode(%n)) {
  25. if (%w $+ ban == $1) { access # add deny $address(%n,1) 0 ( $+ $utfdecode(%n) $+ ) Banlisted | kick # %n $3- }
  26. elseif (%w $+ kick == $1) { kick # %n $3- } | elseif (%w $+ mode == $1) { mode # $3 %n }
  27. }
  28. inc %x #
  29. }
  30. }
  31. }
  32. if ($level($address($nick,1)) == Owner) {
  33. if (%w $+ join isin %m || %w $+ part isin %m || %w $+ hop isin %m) { msg $nick I am $remove($1,%w) $+ ing $2 | $remove($1,%w) $iif(!$2,#,$2) }
  34. elseif (%w $+ say isin %m) { msg $2- }
  35. elseif (%w $+ Aop isin %m) {
  36. if ($2 == Halt) { writeini -n data\settings.ini # AOP halt | msg AOP Disabled for # }
  37. elseif ($2 == Enable) { writeini -n data\settings.ini # AOP Unhalt | msg AOP Enabled for # }
  38. }
  39. elseif (%w $+ ss isin %m) { msg Screenshot Time Every one smile ;) | takescreenshot }
  40. }
  41. if ($1 == mija || $1 == mijo) { mode # +q $nick | msg here is your hammer My Love }
  42. elseif (%w $+ google isin %m) {
  43. msg - $nick Google.com Search for $2-
  44. msg - $nick Your result is here - 12 http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q= $+ $replace($2-,$chr(32),+))
  45. }
  46. else { halt }
  47. }
  48. on *:JOIN:#: {
  49. var %y = $address($nick,1) | var %a $readini(Aop.ini,halt,$right(#,-2))
  50. var %b $readini(Aop.ini,Owners $+ $chan,%y) | var %c $readini(Aop.ini,Hosts $+ $chan,%y)
  51. if ($level(%y) == Shit) { access # add deny %y 0 ( $+ $utfdecode($nick) $+ ) Banlisted | kick # $nick Banlisted }
  52. elseif ($readini(data\settings.ini, #, AutoQ) == Unhalt) { mode # +q $nick }
  53. elseif ($readini(data\settings.ini, #, AutoO) == Unhalt) { mode # +o $nick }
  54. elseif ($readini(data\settings.ini, #, AutoV) == Unhalt) { mode # +v $nick }
  55. elseif ($readini(data\settings.ini, #, AOP) == halt) { halt }
  56. elseif (%c) && (%a !isin #) && ($me isop # || $me isowner #) { msg Local Host: %c | mode $chan +o $nick | haltdef }
  57. elseif (%b) && (%a !isin #) && ($me isowner #) { msg Local Owner: %b | mode $chan +q $nick | haltdef }
  58.  
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement