You need to download following Flag Picture for use this Game
http://www.file-upload.net/download-3498785/Flags.rar.html <- 444 Kbyte
after downloading this pictures Extract to mIRC Directory and Create a folder named "FlagGame"
Usage: /Flag
have fun :D
alias FLAG {
set %Flag $findfile($qt($mircdirFlagGame),*.png,$r(1,$findfile($qt($mircdirFlagGame),*.png,0)))
dialog -m FLAG FLAG
}
dialog Flag {
title "Flag Game"
size -1 -1 70 45
option dbu
edit "", 2, 35 20 35 10, autohs
button "Guess Flag", 3, 38 30 30 10
button "New Flag", 4, 38 5 30 10
icon 1, 5 5 25 25, %Flag, 0
}
on *:DIALOG:Flag:sclick:*:{
if ($did == 4) {
dialog -x Flag
set %Flag $findfile($qt($mircdirFlagGame),*.png,$r(1,$findfile($qt($mircdirFlagGame),*.png,0)))
dialog -v,-m Flag Flag
}
if ($did == 3) {
if ($did(Flag,2) == $remove(%Flag,$mircdir,FlagGame\,.png)) {
/noop $input(Correct Flag Name,o,Correct)
}
else {
/noop $input(Try Again,o,Wrong)
}
}
}