home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 November
/
CDVD1105.ISO
/
Util
/
Winamp
/
Skins
/
Van_Helsing.wal
/
scripts
/
select-language.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2004-10-04
|
2KB
|
98 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Int Int2;
Global Button Button17;
Global Button Button18;
Global Button Button19;
Global Button Button20;
Function func0();
Function func563(Int 0);
func0()
{
Int Int10;
Int Int9;
Double Double3;
Double3 = System.getRuntimeVersion();
if(( ( Double3 > 2) || ( Double3 < 65535))) {
Int2 = 1;
Int9 = System.getPrivateInt(System.getSkinName(), ( "runtimecheck"), 0);
Int10 = System.getTimeOfDay();
if(( ( ( Int10 - Int9) > 5000) && ( Int9 > Int10))) {
return 0;
}
System.setPrivateInt(System.getSkinName(), ( "runtimecheck"), System.getTimeOfDay());
System.messageBox(( ( "This\ script\ requires\ ") + ( "Winamp\ 5\.03\ \(skin\ version\ 1\.2\)")), ( "Error"), 1, ( ""));
return 0;
}
return 1;
if(( System.strsearch(System.getSongInfoText(), ( "tereo")) == ( - 1))) {
return 1;
}
return 2;
}
System.onScriptLoaded()
{
Group Group21;
if(! func0()) {
return Null;
}
Group21 = System.getScriptGroup();
Button17 = Group21.getObject(( "lang\.english"));
Button18 = Group21.getObject(( "lang\.german"));
Button19 = Group21.getObject(( "lang\.spanish"));
Button20 = Group21.getObject(( "lang\.french"));
return Null;
}
Button17.onLeftClick()
{
if(Int2) {
return Null;
}
func563(0);
return Null;
}
Button18.onLeftClick()
{
if(Int2) {
return Null;
}
func563(1);
return Null;
}
Button19.onLeftClick()
{
if(Int2) {
return Null;
}
func563(2);
return Null;
}
Button20.onLeftClick()
{
if(Int2) {
return Null;
}
func563(3);
return Null;
}
func563(Int 0)
{
Layout Layout32;
System.setPrivateInt(( "nationaltreasure"), ( "curlogo"), Int27);
Layout32 = System.getContainer(( "main")).getLayout(( "normal"));
Layout32.onNotify(( "lchange"), ( "lang"), Int27, 0);
return Null;
}