Hidden User ( +Dm ) Delay voice (Undernet)

By xplo on Jan 12, 2008

I think i should make this script public because if everybody use it there will be no more floodanywhere..

Share and Enjoy �:~} XploreR

/*
Hidden User Delay Voice System                     
Made To work With +Dm channel Modes On Undernet            
Originally Coded By Salman, on #mircscripting             
Recoded, Tweaked, Adjusted  By xplorer. on #mircscripting       
For Help join #mircscripting on Undernet                 
Or email me xplorer@live.ca                        
*/
on *:LOAD:{
  echo -at You just loaded The delay voicer Script That works with +Dm channel modes on Undernet
  echo -at This Script Will ONLY work on Undernet Since They have implemented +D 
  echo -at Simply Right Click in the channel And Click ''Delay Voice''  
  echo -at 4THIS SCRIPT WILL ONLY WORK IN ONE (1) CHANNEL 
  echo -at From: xplorer irc.undernet.org #mircscripting xplorer@live.ca
}

on *:UNLOAD:{
  echo -at What Have you Done ??
  echo -at Fine Then!
  echo -at :p try again later ;)
}

menu channel, {
  $iif(undernet isin $network,Delay Voice)
  ..ON:/husers | mode $chan +Dm
  ..OFF:/husers | mode $chan -Dm
}

alias husers { 
  .names -d $chan
  if ( $timer(hUsers) != $null ) {
    .timerhUsers off | unset %huserchan 
    echo -at Delay Hidden voice Script is Off!
  }
  else { .timerhUsers 0 10 .names -d $chan | set %huserchan $chan
    echo -at Delay Hidden voice Script is On! Make 4Sure That everyone is +v
  }
}

raw 355:*: {
  if ( $4 == $null ) { HALT }
  else {
    set %allnicks $4-
    set %i 1
    :next
    set %nick $gettok(%allnicks,%i, 32)
    if %nick == $null goto done
    if $istok( %nrdone,%nick,32 ) { inc %i | goto next }
    .set -u60 %nrdone %nrdone %nick
    .enable #ghost
    .whois %nick
    .timern 1 1 .notice %nick You Are hidden under +Dm channel modes, in 10 Seconds you will be voiced (+v) (Flood Protection)
    .timerv 1 11 mode %huserchan +v %nick
    inc %i
    goto next
    :done
  }
  halt
}

raw 366:*: halt

#ghost off
raw 301:*: halt
raw 310:*: halt
raw 311:*: { echo -at 4 $+ Scanning Hidden User: $address($2,5)  | halt }
raw 312:*: halt
raw 313:*: halt
raw 330:*: halt
raw 319:*: halt
raw 317:*: halt
raw 318:*: { .timer 1 5 .disable #ghost | haltdef }
#ghost end

Comments

Sign in to comment.
xplo   -  Oct 28, 2008

np, Just updated it.

 Respond  
Free`Spirit   -  Oct 28, 2008

Works good. Thank you!

 Respond  
xplo   -  Aug 14, 2008

true, lol. fixed.

 Respond  
Cheiron   -  Aug 12, 2008

just a thought here.... but isnt timer 1 10 equal to 10 secs and not 30 like the script says for the setting of mode +v on the user?

 Respond  
xplo   -  Jan 15, 2008

Originally coded by Salman on Undernet you can find him on channel #mircscripting i just made some small modif and its working well, there is an updated version too ask him he will give you the link for it :p

Enjoy :~}

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.