mIRC Snippet:
8ball (different approach)
Posted on Oct 27, 2009 11:31 pm
Posted on Oct 27, 2009 11:31 pm
tbh using a hash table here would just be extra work when an ini file does it fine. Also i was making a point about ini files not hash tables, so please don't quote my quote and change my words around thanks.
mIRC Snippet:
8ball (different approach)
Posted on Oct 27, 2009 8:10 am
Posted on Oct 27, 2009 8:10 am
| Quote: |
| Does no one care to use ini files anymore? |
mIRC Snippet:
Auto join after kick/ Ban too
Posted on Oct 25, 2009 10:22 pm
Posted on Oct 25, 2009 10:22 pm
Where do you think it's some how better to not have { } after your if statements? Not having { } SLOWS down your script so does the "if %1>%2", your just making your computer do more work when it shouldn't have to.
/me thinks you have been reading RusselB's scripts to much
/me thinks you have been reading RusselB's scripts to much
mIRC Snippet:
8ball (different approach)
Posted on Oct 25, 2009 10:15 pm
Posted on Oct 25, 2009 10:15 pm
| Code: |
| on *:LOAD:{ write where.txt IN A BIN write can.txt No you can't write color.txt RED! write what.txt A balloon write where.txt IN A HOUSE write can.txt maybe.. write color.txt RED! write what.txt A Dragon with not one not two but 3 heads! write can.txt SAY PLEASE } |
Does no one care to use ini files anymore? This would be a great time to start. One ini looks better then 4 txt files.
| Code: |
| [8ball] where=IN A BIN,IN A HOUSE can=No you can't,maybe..,SAY PLEASE color=RED!,BLUE! what=A balloon,A Dragon with not one not two but 3 heads! |
Throw in a $readini, $r, $numtok and $gettok and your set.
mIRC Snippet:
BlackJack V 1.1
Posted on Aug 21, 2009 12:41 pm
Posted on Aug 21, 2009 12:41 pm
Do i even want to get started on this?....
First off blackjack HAS WAY! WAY! MORE THINGS then just "Hit me". Second $rand(1,9)...? in blackjack Ace can be 1 or 11 and there is no "1" card unless you make a ace 1, also there is more then one card that is ten making the odds of getting a ten are greater then getting say a 5 or 6. What is with the freeze? it's called stand.
Now for your scripting, there is no need for all the unsets like that you can use:
same for all the global vars by using:
For your if statements you use halt at the end when putting in the second if elseif making it not check the elseif unless the if was = to $false.
Overall this script could be a lot better and have more of the blackjack options like really blackjack does.
First off blackjack HAS WAY! WAY! MORE THINGS then just "Hit me". Second $rand(1,9)...? in blackjack Ace can be 1 or 11 and there is no "1" card unless you make a ace 1, also there is more then one card that is ten making the odds of getting a ten are greater then getting say a 5 or 6. What is with the freeze? it's called stand.
Now for your scripting, there is no need for all the unsets like that you can use:
| Code: |
| unset %cards %bcards %ctotal %btotal |
| Code: |
| var -g %cards = w/e, %bcards = w/e, %ctotal = w/e |
For your if statements you use halt at the end when putting in the second if elseif making it not check the elseif unless the if was = to $false.
Overall this script could be a lot better and have more of the blackjack options like really blackjack does.
mIRC Snippet:
Rehashed Quote System + Dialog (v.2)
Posted on Aug 19, 2009 10:35 am
Posted on Aug 19, 2009 10:35 am
Was thinking you could have a last ten posters and last ten quotes command and maybe in the dialog to.
mIRC Snippet:
Simple Away (/afk & /return)
Posted on Jul 22, 2009 10:20 pm
Posted on Jul 22, 2009 10:20 pm
Something like this:
/scid -a amsg test
/scid -a amsg test
mIRC Snippet:
Autojoin Network Based
Posted on Jul 22, 2009 6:46 pm
Posted on Jul 22, 2009 6:46 pm
80% of whats posted is just the same thing over and over, not everyone is at the same scripting level so by making the same scripts over and over we learn. If your looking for something different then make a different one.
mIRC Snippet:
Spin The Bottle
Posted on Jul 22, 2009 3:33 pm
Posted on Jul 22, 2009 3:33 pm
Samething but with less { } and it has a txt file not a var.
mIRC Snippet:
Spin The Bottle
Posted on Jul 22, 2009 8:25 am
Posted on Jul 22, 2009 8:25 am
You could try:
| Code: |
| on *:text:!spin*:#:{ :nickpick var %nick = $nick(#,$r(1,$nick(#,0))) if (%nick == $nick) || (%nick == $me) { goto nickpick } else { goto rest } :rest var %items must Sexually touch %nick $+ !,must Touch chest of %nick $+ !,must Kiss %nick $+ !,must Feel ass of %nick $+ !,must Make out with %nick $+ !,must Striptease for %nick $+ !,must Grab %nick $+ !,must Spank %nick $+ !,must Go in the closet with %nick $+ !,must Feel up %nick $+ ! describe $chan spins the bottle... timer 1 3 msg $chan 6The bottle is slowing down... timer 1 5 msg $chan 6The bottle has stopped... timer 1 7 msg $chan 6It Landed on... timer 1 9 msg $chan %nick $+ ! msg $chan 6 $nick $getttok(%items,$r(1,$numtok(%items,44)),44) } |
mIRC Snippet:
Simple Away (/afk & /return)
Posted on Jul 22, 2009 8:09 am
Posted on Jul 22, 2009 8:09 am
No need for the timers, if you add away (reason) in there you can use $duration($awaytime) to get weeks, hours, minutes and seconds.
For the inc var you could have done inc -c %var to increase it one per seconds then $duration(%var) for the weeks, hours, minutes and seconds outcome.
For your %away var if you set a "away (reason)" when you go away then you can use if ($away == $true) { }
For the inc var you could have done inc -c %var to increase it one per seconds then $duration(%var) for the weeks, hours, minutes and seconds outcome.
For your %away var if you set a "away (reason)" when you go away then you can use if ($away == $true) { }
mIRC Snippet:
Autojoin Network Based
Posted on Jul 21, 2009 6:08 pm
Posted on Jul 21, 2009 6:08 pm
That it is
mIRC Snippet:
PM / Query Blocker
Posted on Jul 20, 2009 5:04 pm
Posted on Jul 20, 2009 5:04 pm
That seems long just to block a pm
Java Snippet:
Encryptor/Decryptor (Caesar Cipher)
Posted on Jul 17, 2009 8:18 am
Posted on Jul 17, 2009 8:18 am
The encrypt almost looks like a keygen for a game :)
mIRC Snippet:
random kick message
Posted on Jul 9, 2009 9:59 pm
Posted on Jul 9, 2009 9:59 pm
You could also use tokens for this like:
| Code: |
| menu channel { kicks .kick : { set %byeguy $$?="who do u want to kick" var %gift your stupidity outweighs my inteligence+i'd hang a medal off your ass, but my boot fits better+$& your mum should have swallowed+would have been yo daddy but the dog beat me over the fence+get !@#$+$& piss off twat,i've seen better looking boils on a welders ass,common sense eludes you doesn't it,$& ever had a foot in your ass? YA DO NOW!+apparently you don't learn.... do you?+$& how about heres my finger hes my thumb this is my boot right up yer bum,thankyou please call again+$& fark you Very Much.... Come Again... Or Don't+that word's a no no, ya do do+$& if wit was shoot youd still be constipated, One turd removed+$& This is a beauty parlour... you appear to have hit all 27 branches on the ugly tree... there is nothing we can do for you. Try the shop next door+$& Do you actually think about the shoot that falls outta your mouth? Or is is all just random?+$& God loves you"...............................wait.......NO I don't+this rom is an all welcome room, but i guess your the exception+$& Have a ride on the short bus?+its along walk home so grab your coat , yopur leaving,don't say i never gave you nothin (swift kick)+$& here a early Christmas prizent+its along walk home so grab your coat , your leaving,You're outta here like a pornstar at college+$& insert own kick message cos your not worht the effort+try that one again and il wear your ass for a slipper+$& my mother gave me life, i gave her the blues, my wife gave me hell i gave her herpies, youve given me nothing so consider this a gift kick $chan %byeguy $gettok(%gift,$r(1,$numtok(%gift,43)),43) } ..permanently ban { set %banman $$?="who would u like to scare" kick $chan %banman ((quit) (user has been permanently banned from $server )) } } |
mIRC Snippet:
mIRC Format Code Converter
Posted on Jul 7, 2009 12:06 am
Posted on Jul 7, 2009 12:06 am
Looks nice, good job.
mIRC Snippet:
RuneScape Players Script
Posted on Jul 5, 2009 3:46 am
Posted on Jul 5, 2009 3:46 am
Looks good although you could have added this with your other runescape script, other then that good job.







