In response to the earlier comment about IE8 becoming less prominent, I'm afraid that won't happen as soon as we might like. Many people are stubbornly happy on their Windows XP systems and for good reason, it was a pretty decent OS.
Microsoft has made the decision for some reason or other to not support XP in IE9 regardless of how many people are still running it and the fact that other programs such as FireFox can support current standards for all current OS's including XP. It is explained pretty well in http://download.cnet.com/8301-2007_4-20043103-12.html .
As long as XP users cannot use IE9 we will have to continue to offer backwards compatibility for some time to come. I expext IE8 to be the next generations thorn in the side like IE6 proved to be as long as IE9 cannot run on XP.
Just my opinion.
BTW, nice snippet Hawkee, I'm about to release a similar one but mine isn't styled nearly as nice.
Typocommented on mIRC Snippet: Pro Slap!
-
Jan 30, 2011
Here is another way to go about this but using tokens. As far as an alternative goes, I think this is much easier to understand and actually learn something from than the other alternative example above. No offense meant to _Dean_.
Code
p.s. I got rid of the sub menu for pro slap, there was only one slap in it so its fine as a main menu command I thought.
You don't have to use $v1 but $1. Using $1 also gives those old mirc users a safe bet for this code to work for them 100%.
Your absolutely right that I could have just used $1, I only used $v1 out of habbit but the fact is that the $v1 and $v2 variables were introduced in 07/07/2004 in mIRC v6.16.
I seriously doubt we should take the time to concern ourselves with people still running something that old. Any effort to that end should be put towards getting those people to finally upgrade their mircs.
I made a little alteration to mine..(the one I pasted it before in the other password snippet that the OP was referring to).....I thought "why not add symbols/punctuation too" and so with that in mind was actually able to shorten it by using $chr and the numbers that all letters, numbers and usable characters fall into. Like before it defaults to a random size of 12 to 18 characters unless you specify the length like $makepass(129) .
Code
I like the little dialog yours came with but not sure I wanna invest that kinda time into what is really a silly snippet.
Dont know what made me comment when I haven't in so long but anyhow....
Here is the makepass alias I came up with some time ago on a whim.
It defaults to a random pass between 12 and 18 characters but you can select the ammount of characters like '$makepass(10)' or '/makepass 10'.
It randomizes using numbers and upper and lower case letters.
It's also set to output differently depending on how it is used. If you use it like $makepass() it will simply return it, and if u use it like /makepass it will echo it.
Was grabbing this to give to someone and notices it could use some updating so I updated to simplify code with some $v1's, and a couple other small changes. It works exactly the same in every way, just less code is all.
Now nobody can say I haven't done anything on Hawkee lately. LOL
Purcell had the right idea except he should be using elseif instead of else and if's and he should be using $1- not $1- and furthermore you should strip $1 so that if the person triggering is using a color talker it will still work.
I will use /tokenize 32 $strip($1-) to make $1 be stripped thru the whole script so that I dont have use a $strip call in ever if statement.
I also noticed a typo in the christmas greeting, it was missing a ctrl+b and ctrl+k.
Code edited:
Someone voted this like a 2 or 3. It was at like 7.6 with 3 votes and is now at 6.0 with 4 votes.
This wouldn't bother me except that this obviously dissatisfied person takes the time to rate my script crappily but can't find it in them to share with the rest of us what it is they find so wrong with with the code.
Even if the score was only 7.0 and is now 6.0 that means that the anon user only voted 3 by my rather hasty calculations and that just seems rude in my opinion.
I know its not a nice script and is just a silly ans useless game and I will even admit the coding could probably be cleaned up a little more but this seems like a personal dig to me and thats not at all what this site is intended for.
Crap like this makes a lot of people just stop posting and honestly even tho I refuse to let it stop me I completely understand why they let it stop them.
Personally, I vote for a rating system where it shows everyone who rated what how much.
Then maybe we can notice patterns of losers voting out of malice and could then weed them out.
Updated to properly track and reset the amount you are betting to the last amount selected when the credits are reset or the dialog restarted.
Kirby: I would have to use mdx or dcx dialog extensions to get a better looking dialog or to make it look really good I would need to do it using picwins. I'm not sure I want to put that kind of time into this script but it is something I am thinking about.
Thanks again everyone for the comments, ratings and likes.
Thanks for all the comments everyone. I didnt even notice I accidently left blueberry in the payout list instead of pineapple, that has been fixed since it's an easy fix, I will address the zero bet later tho it techincally isnt an issue since you cannot win any credits when you bet 0.
If I want it to remember the bet you had it on then I have to add another variable and I was just avoiding doing that so I let it reset the bet to blank upon credits reset. I will fix that one way or the other and upload a screenshot in an hour or two.
This isnt even usable in its current form. It isn't an alias or anything, it's just code looking for a home and cannot be used as-is.
Your comments need to be on seperate lines to avoid them being processed.
You have bracket mismatches.
You do not need to use "/" in front of commands inside of scripts.
Here is the code with the items above fixed.
I wanted to apologize to anyone waiting for the release of the next update which adds online image searching abilities. Things got really busy for me the past couple months and I haven't had time for any kind of coding till past few days. I will resume the testing for the update very soon and then release it if it's good to go.
Good idea brando, I didn't see this post until now or would have done it sooner.
To be honest I'm not sure why the heck I didnt use $true and $false in the first place but hey, if I'm not being goofy then I'm not being me so oh well.
Typocommented on mIRC Snippet: FullScreen
-
Dec 03, 2008
I love the idea but it doesnt quite perform right.
In some cases the picture didn't fill the fullscreen window and the fullscreen window itself isnt actually fullscreen.
It doesnt maintain the aspect ratio either which makes some pictures look very odd when switched to fullscreen.
I also suggest you make any single key press close the fullscreen window since your not giving it a proper frame with an x like a nrmal window.
I know that this script is a toughie because I had to tackle the same thing when adding the ability to view pictures in fullscreen mode to my ViewPic script. The aspect ratio part alone took me some time to nail and figuring out the proper window paramaters to get the window right was a pain too.
Its a good start but honestly needs work. I love the concept tho.
Good luck.
p.s. If you would like to try out Typos ViewPic to test the fullscreen mode it's posted here on hawkee at http://www.hawkee.com/snippet/4955/ .
Typocommented on mIRC Snippet: NL Bom
-
Oct 18, 2008
ENGLISH:
Considering this is an english site why not atleast post an english translation?
Just seems rude to me to post something that the majority of the users will not understand.
I'm not saying to make the code itself in both languages but translating the introduction would be a decent idea.
All I know is that if I were posting on a dutch website in english (which I wouldn't do) I would atleast provide the users with a translation they can understand.
DUTCH:
Uitgaande van deze site is een engels waarom niet ten minste een post engels vertalen?
Just lijkt onbeleefd tegen me to post iets waar de meerderheid van de gebruikers zullen niet begrijpen.
Ik zeg niet om de code zelf in beide talen, maar het vertalen van de invoering zou een fatsoenlijk idee.
Alles wat ik weet is dat als ik het posten op een nederlandse website in het engels (die ik niet zou doen) Ik zou minimaal aan de gebruikers met een vertaling die zij begrijpen.
Two things I noticed right off, one is you use $2-5 instead of $2-4 which would allow extra data in since you never check if (!$5).
The second thing is..
Code
Could be changed to
Code
I know its not a lot shorter but it does give you a great example of creative thinking to bring down the amount of ifs you need.
You should also consider checking the input against the file to make sure it doesnt already exist to avoid someone adding the same number a thousand times.
The code in general is a very simple one, almost too much so.