mIRC Home    About    Download    Register    News    Help

Print Thread
#6401 13/01/03 05:59 PM
Joined: Dec 2002
Posts: 13
L
Lackey Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Dec 2002
Posts: 13
I use a script that displays various parts of my system info on certain commands. Like if I say:
\pcstats summary
It displays a bried summary of my system info.
Well I really don't wanna type it all the time, so I tried adding all of these commands to my pop-up menus.
Code:
menu channel,query {
    »  PC Stuff
  .PC Summary:/say \pcstats summary
  


But it doesn't display the information, just me saying:
\pcstats summary
While if I actively type it in the channel, I still say
\pcstats summary
But the system info is displayed as well. Anyway to make this work?

#6402 13/01/03 06:00 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Try
Code:
menu channel,query {
  »  PC Stuff  .PC Summary:/pcstats summary
}

#6403 13/01/03 07:10 PM
Joined: Dec 2002
Posts: 13
L
Lackey Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Dec 2002
Posts: 13
It's an unkown command like that.

#6404 13/01/03 07:15 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Quote:
While if I actively type it in the channel, I still say
\pcstats summary
But the system info is displayed as well. Anyway to make this work?


Open your remotes and look for an on INPUT event if it is there and it has something about pcstats in it then paste it here. I'm guessing the script is using an on INPUT event rather than an alias..

#6405 13/01/03 09:04 PM
Joined: Dec 2002
Posts: 13
L
Lackey Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Dec 2002
Posts: 13
I've looked..and I can't find any on INPUT related to this part of the script. Anyone else can type the command and get my info. I can type it and get my info..but if I say it through a pop-up, it doesn't do diddly.

#6406 13/01/03 09:41 PM
Joined: Jan 2003
Posts: 8
R
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
R
Joined: Jan 2003
Posts: 8
in popups put

-
Sysinfo
.Info:(whatever your trigger is)


----
Explosive.Fireirc.net #fireirc

#6407 13/01/03 10:05 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Firstly, here is my guess: remove the /say from your original popup definition.
Code:

menu channel,query {
  » PC Stuff
  .PC Summary: \pcstats summary
}

If that doesn't solve it, can you tell us what \pcstats summary is supposed to do exactly? None of us have an alias or popup like that. We are all just guessing into the wind (as it were). To me, it looks like you have a DOS-type program meant to be /run as \pcstats with the summary option invoked, though how you expect to retrieve the information inside mIRC is another question entirely. Do you have an alias called \pcstats that we don't know about?
Code:

alias \pcstats {
  ; code here
  if ($1 == summary) { short stuff }
  else { long stuff }
}


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C

Link Copied to Clipboard