mIRC Homepage

$dll(moo.dll,osinfo,_)

Posted By: piko

$dll(moo.dll,osinfo,_) - 21/12/02 12:17 AM

well, if you use this you will get for an example: "Windows XP Professional, Service Pack 1 (5.1 - 2600)"
well, what I want to do is an alias that returns like "WinXP" instead of " Windows XP Professional, Service Pack 1 (5.1 - 2600)"

well, hope you can help me with this.. laugh
Posted By: Hammer

Re: $dll(moo.dll,osinfo,_) - 21/12/02 12:54 AM

I've never used moo.dll, but whichever portion returns the os (let's assume it's $dll(moo.dll,osinfo,_) for this example), just
Code:

  var %osinfo = Windows XP Professional, Service Pack 1 (5.1 - 2600)
  var %os = $replace($dll(moo.dll,osinfo,_),%osinfo,WinXP)

Or just don't call moo.dll for that, just use the string literal instead. Where you would call $dll(moo.dll,osinfo,_), just put, literally, WinXP

Posted By: watcher

Re: $dll(moo.dll,osinfo,_) - 21/12/02 06:39 AM

//say OS: Win $+ $os ^-^
Posted By: piko

Re: $dll(moo.dll,osinfo,_) - 21/12/02 10:33 AM

thx for your help guys. laugh
© 2019 mIRC Discussion Forums