Top

DualDID


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Oct 29, 2008
Last Updated  Oct 29, 2008
Tags  dualdid  mirc 

Description

This is a simple alias that will allow you to perform multiple /did commands on the same dname+id. I would also like to add that this snippet was requested by Neptune, so I just added it here for everyone else who may need the same feature.

Syntax:
Code:
/ddid -<DialogFlags> <Dialog Name> <Dialog ID> <Multiple|Parameters|Seperated|By|The|Vertical|Line>


Example:

Code:
/ddid -a MyCustomDLG 1 Line 1|Line 2|Line 3|More stuff here

Grab the Code

alias ddid {
  var %c = $4-, %n = 1, %h = $gettok(%c,0,124), %e = did $1 $2 $3
  while (%n <= %h) {
    %e $gettok(%c,%n,124)
    inc %n
  }
}

Comments

  (2)  RSS
mountaindew
Comments: 1,816
 
mIRC Snippet:  DualDID
Posted on Oct 29, 2008 3:36 pm
If I'm understanding this right, /didtok does the exact same thing :P

Edit:
Code:

$gettok(%c,0,124)

$numtok would probably be better, that's its purpose.
Zmodem
Comments: 306
 
mIRC Snippet:  DualDID
Posted on Oct 29, 2008 3:51 pm
Sweet!

Commenting Options

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

  

Bottom