Top

Currently Loaded Scripts


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Feb 03, 2008
Last Updated  Feb 03, 2008
Tags  file  function  help  ini  loaded  mrc  script  scripts  total  txt  usefull  while 
  Bookmark and Share

Introduction

Pretty basic script to inform you of your currently loaded scripts using mIRC built in idents.

Copy and paste this snippet into your remotes (ALT + R)
Type
Code:
/scripts

to fire it up =)

Grab the Code

Comments

  (10)  RSS
Freckle
Comments: 36
 
mIRC Snippet:  Currently Loaded Scripts
Posted on Feb 3, 2008 10:18 am
Code:
echo $active

can be replaced with
Code:
echo -a
Freckle
Comments: 36
 
mIRC Snippet:  Currently Loaded Scripts
Posted on Feb 3, 2008 10:19 am
also:

Code:
$script( $+ %c $+ )

can be (I think)
Code:
$script(%c)
napa182
Comments: 1,136
 
mIRC Snippet:  Currently Loaded Scripts
Posted on Feb 3, 2008 2:09 pm
like Lindrian said in ur last one to use var instead of set...
Code:
alias scripts {
  var %total.scripts $script(0), %c = 1
  echo -a 4*#Scripts Loaded4* $script(0)
  while (%c <= %total.scripts) {
    echo -a 4*# $+ %c $+ 4* $script(%c)
    inc %c 1
  }
}
napa182
Comments: 1,136
 
mIRC Snippet:  Currently Loaded Scripts
Posted on Feb 3, 2008 2:16 pm
oop's the last inc %c 1 can be inc %c
grrr i hate not being able to edit our own posts ..
Code:
alias scripts {
  var %total.scripts $script(0), %c = 1
  echo -a 4*#Scripts Loaded4* $script(0)
  while (%c <= %total.scripts) {
    echo -a 4*# $+ %c $+ 4* $script(%c)
    inc %c
  }
}

um good work but you will flood ur self with echos if you have a ton of scripts in ur mirc....um maybe add to this and make it a dialog and have it list them in there..just a thought.
jonesy44
Comments: 1,072
 
mIRC Snippet:  Currently Loaded Scripts
Posted on Feb 3, 2008 3:44 pm
not a bad idea, perhaps a /aline would work better, i tend to keep about 3-5 scripts loaded at a time, so i find it helpfull. =P
I'm more or less playing around with posting some small snippets atm on here

Thanks for the feedback =)
napa182
Comments: 1,136
 
mIRC Snippet:  Currently Loaded Scripts
Posted on Feb 3, 2008 4:10 pm
here i made this in about 4 min's maybe that can give you an idea for a dialog for this.. whoknows...
Code:
dialog test {
  title "Loaded Scripts"
  size -1 -1 180 88
  option dbu
  list 1, 11 5 155 66, vsbar 
  button "List", 2, 11 74 30 10
  button "Clear", 3, 54 74 30 10
  button "Exit", 4, 137 74 30 10, cancel
  button "Edit", 5, 96 74 30 10
}
alias test {
  dialog $iif($dialog(test),-v,-md) test test
}
menu channel {
  .Loaded Scripts { test } 
}
on *:DIALOG:test:init:0:{ did -b test 3,5 }
on *:DIALOG:test:sclick:*:{
  if ($did == 2) {
    did -e test 3,5
    did -b test 2
    var %total.scripts $script(0), %c = 1
    did -a test 1 #Scripts Loaded $script(0)
    while (%c <= %total.scripts) {
      did -a test 1 $script(%c)
      inc %c
    }
  }
  if ($did == 3) { did -r test 1 | did -b test 3,5 | did -e test 2 }
  if ($did == 5) {
    if (!$did(1).seltext) { return }
    else { run $did(1).seltext }
  }
}
jonesy44
Comments: 1,072
 
mIRC Snippet:  Currently Loaded Scripts
Posted on Feb 4, 2008 12:09 pm
Wow, real nice work =D
*blushes* xD
mountaindew
Comments: 1,640
 
mIRC Snippet:  Currently Loaded Scripts
Posted on Feb 4, 2008 3:18 pm
i would do $iif($isid,return,echo) so u can use it as identifier or alias
mountaindew
Comments: 1,640
 
mIRC Snippet:  Currently Loaded Scripts
Posted on Mar 8, 2008 7:33 pm
^^nvm about that, i don't know what i was talking about :|
SnoooP
Comments: 320
 
mIRC Snippet:  Currently Loaded Scripts
Posted on Mar 8, 2008 8:00 pm
lol nice script

Please Register or Login to start posting comments.
Bottom