Top

Mass Action


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Feb 28, 2009
Last Updated  Mar 01, 2009
Tags  mass  slap 

Description

This is a simple script which can perform an action to every user on a given channel.

Basically, it's an advanced mass slap script.

Use the script by typing: /massaction.

Grab the Code

alias massaction { dialog -m massaction massaction }
dialog massaction {
  title "Mass Action Script"
  size -1 -1 170 110
  text "Channel:", 1, 10 10 50 12
  edit "", 2, 60 7 100 20
  text "Action:", 3, 10 37 50 12
  edit "", 4, 60 34 100 20
  text "", 5, 10 59 180 12
  button "Do it!", 6, 10 81 65 22
}
on *:DIALOG:massaction:*:*:{
  if ($devent == init) { did -a $dname 5 * $me $iif($did($dname,4,1).text,$did($dname,4,1).text $+ s,<action>) <nick> }
  if ($devent == edit) { did -a $dname 5 * $me $iif($did($dname,4,1).text,$did($dname,4,1).text $+ s,<action>) <nick> }
  if ($devent == sclick && $did == 6) {
    var %loop = $nick($did($dname,2,1).text,0)
    while %loop { describe $did($dname,2,1).text $did($dname,4,1).text $+ s $nick($did($dname,2,1).text,%loop) | dec %loop }
  }
}
 

Comments

  (2)  RSS
Kirby
Comments: 480
 
mIRC Snippet:  Mass Action
Posted on Mar 1, 2009 5:06 pm
Code:
$did($dname,4,1).text

Wow, I didn't know you could supply two id-number parameters in a $did.

You know, you could just do /ame instead of the loop, and if mode +T isn't set in your channels.
Blitzjager
Comments: 192
 
mIRC Snippet:  Mass Action
Posted on Mar 1, 2009 6:40 pm
it's the first line of $did4

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  

Bottom