this is a nice idea... however I think mIRC already have a /drawrect -e which can draw a circle eventhought in help file its pointed as a eclipse.
One thing I notice that you had use x and y as a center point(for me its confused myself and this totaly because im not good in math... i think this is the correct way to draw a circle isnt it?)
I also love to see if you can support the /draw* switches such as -r so that your script can be more versatile.
This is another example that can make the text look like a 3d text
alias 3dtext {
window -pa @test
var %loop 1, %max $iif($1,$1,10)
while (%loop < %max) {
text_outline -of @test $calc(100 + %loop) $calc(10 + %loop) 255 1 32 "times new roman" sample text for testing purpose only
inc %loop
}
}
Just type '/3dtext' or '/3dtext [N]'
feel free to use/alter it :)
Well how would i get it to disable the modes if it isnt supported.. is there even a way to check for that
You can check it by using $chanmodes.
Also. Do you know if it can check what modes are selected and what ones arent so it can be automatically checked to cause no confusion.
You can use $chan(#channel).mode to determined the enable modes for the specified channel.
Im totally agree with others by using on init to check the current enable channel modes. However, its lack something such as when user keep the dialog open and the other channel operator changed a channel modes(or the user itself changed it manually).
So you need to watch the on mode event, and disable/enable the modes in dialog according to the current channel modes.
By using on active event also you can had one dialog for the whole channels, in other word the dialog would shown the correct modes for the active channel.
The dialog seem ok for me but it would be more catchy if you put OK button a little bit down(like the cancel button) and maybe the frame can be resize to match the second frame.
The code can be shorten and have a little 'makeup':
on @*:OP:#: {
if (%Enable == on) && (%OP == on) && ($opnick != $me) {
.mode $chan -o $opnick
.msg $chan [4Bitchmode] Halfop Protection (Lifes a bitch)
}
}
However IMO this is not so useful but perhaps someone would think otherwise :)
I assume this script would working in some network only(especially the network that had implemented the specified chan modes...which many of them are unfamiliar for me).
IMO this is a simple script with a nice dialog and maybe you could added a couple thing on it such as:
Anyway... its really something useful for the operators
Nice job
thanx water_dragon
at least someone feel this one are useful :P
anyway this snippet will downloading a .flv file(which that was a youtube video file format) and that means you need a FLV player which like mountaindew suggesting you can try total video player or you can google for \'flv player\' or you can get a codec that supported the .flv player such as storm codec.
water_dragon you can renamed the file as any .xxx that you like, however you still need a FLV player to play it. Even if you rename it as .wmv(for example) and your player didnt support flv format then an error occured.
If you want to convert the downloaded file, once again u can follow what mountaindew said. Or you can try media converter(which im prefer :P), you can get it at http://www.mediaconverter.org/ (either you want used the online converter or download its free version)
For others, there was some major problem for the url this snippet echoing(at @getvid). Since any url that have a spaces are not being converted into url form so a clicking at it will not working(eventhough its work but its redirect the browser to a wrong url).... So its better used the \'-b\' switches for this moment(until Ive got a desire to recode this thing-got many video to download so cant have spare time to coding lol :P)
this is nice... however theres a problem especially when the param are not specified(null) like this example:
--> $switchtok(Testing this bodacious alias is sweet,3,,32)
or when the N or N2 specified as 0
--> $switchtok(Testing this bodacious alias is sweet,3,0,32)
just wanna shared with you :)
http://www.hawkee.com/snippet/1313/
My first time working with socket......... Its been created when Im feel so tired to open the youtube pages and its source code and then find the video url there's. So Ive decided to write a simple snippet in mirc to allow me just gave the page url where theres was a video that I want to downloading.