CCBlueX Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Watchdog Announcement

    Scripts
    1
    1
    226
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DreamWasFucked
      DreamWasFucked Banned last edited by

      Watchdog Announcement

      function randomInteger(min, max) {
          return Math.floor(Math.random() * (max - min + 1)) + min;
      }
      var script = registerScript({
          name: 'Watchdog',
          version: '0.0.0',
          authors: ['Shurpe']
      });
      script.registerModule({
          name: 'Watchdog',
          category: 'Fun', 
          description: ''
      	
      }, function (module) {
          module.on('update', function() {
              if (mc.thePlayer.ticksExisted % 6000 == 0) {
                  Chat.print('')
                  Chat.print('§4[§4WATCHDOG ANNOUNCEMENT]')
                  Chat.print('Watchdog has banned §c§l' + randomInteger(1, 99) + ',' + randomInteger(100, 999) + ' §rplayers in the last 7 days.')
                  Chat.print('Staff have banned an additional §c§l' + randomInteger(1, 99) + ',' + randomInteger(100, 999) + ' §rin the last 7 days.')
                  Chat.print('§cBlacklisted modifications are a bannable offence!')
                  Chat.print('')
              }
          });
      });
      
      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      About
      • Terms of Service
      • Privacy Policy
      • Status
      • Contact Us
      Downloads
      • Releases
      • Source code
      • License
      Docs
      • Tutorials
      • CustomHUD
      • AutoSettings
      • ScriptAPI
      Community
      • Forum
      • Guilded
      • YouTube
      • Twitter
      • D.Tube