mIRC Home    About    Download    Register    News    Help

Print Thread
#272843 31/07/24 11:56 PM
Joined: Apr 2005
Posts: 124
X
Vogon poet
OP Offline
Vogon poet
X
Joined: Apr 2005
Posts: 124
dialog xsys {
title "[SysInfo]"
size -1 -1 259 175
option dbu
box "", 1, 4 56 253 38
button "&Reporte", 2, 66 69 37 12, flat
edit "", 5, 54 70 11 10
edit "", 6, 41 70 11 10
edit "", 7, 28 70 11 10
edit "", 8, 16 70 11 10
edit "", 9, 4 70 11 10
tab "---Sysinfo----", 10, 3 5 251 46
}

on *:dialog:xsys:init:*:{
did -a $dname 24 info:
did -a $dname 24 info:
did -a $dname 24 info:
}

on *:dialog:xsys:sclick:2:{ gbx }

alias gbx {
var %i = 1 | while (%i <= 22) { set %impr_report $did($dname,24,%i) | inc %i }
write c:\x\c\sysinfo $+ - $+ $rand(0,2000) $+ .rtx %impr_report
}

XGamerAMD #272862 09/08/24 10:01 AM
Joined: Dec 2022
Posts: 15
M
Pikka bird
Offline
Pikka bird
M
Joined: Dec 2022
Posts: 15
What is the problem?
There is only a piece of code, which should have been in <code>...</code>, like this:

Code
dialog xsys {
  title "[SysInfo]"
  size -1 -1 259 175
  option dbu
  box "", 1, 4 56 253 38
  button "&Reporte", 2, 66 69 37 12, flat
  edit "", 5, 54 70 11 10
  edit "", 6, 41 70 11 10
  edit "", 7, 28 70 11 10
  edit "", 8, 16 70 11 10
  edit "", 9, 4 70 11 10
  tab "---Sysinfo----", 10, 3 5 251 46
}

on *:dialog:xsys:init:*:{
  did -a $dname 24 info:
  did -a $dname 24 info:
  did -a $dname 24 info:
}

on *:dialog:xsys:sclick:2:{ gbx }

alias gbx {
  var %i = 1 | while (%i <= 22) { set %impr_report $did($dname,24,%i) | inc %i }
  write c:\x\c\sysinfo $+ - $+ $rand(0,2000) $+ .rtx %impr_report
}


Link Copied to Clipboard