Ahh. So much better. I am glad you took my advice and worked on it :) There are sitll a couple bracket errors. Remember it is just simple addition and subtraction
say...{ are positive and } are negative. In the end it must equal 0. Where you place the brackets can also change your script just like in an equation. (4+4)5 is compeltely different than 4+45
So suppose we opened 3 { now we need to close them. soo...
3 + -3 = 0
{ + } = 0
{ { { } } }
Hopefully that makes some sense o.O
Very well done. It took me a second to figure out why you used regex until I looked back up at all the params that can be used. What I really like is how you can \"ignore\" a param with a certain specific phrase. Very clever and very well thought out to create very little room for error alphanumeric-param wise :P
Also another thing i noticed :P you have \"+B $nick\". First off it would be \"mode $chan +B $nick\" Second of all if you\'re using Unreal or many other familiar IRCD\'s. +B is a user mode and doesn\'t have a param or is a non existent mode. I think you mean +b which does have a param. Also instead of $nick i suggest $address($nick,2) for single network bans OR $address($nick,3) for multi network bans. 2 is more secure, 3 is more efficient. Capitalization is everything in mode settings. Just remember that aswell :)
@guest598594 Hey, whats your IRC network and nick. I\'d like to talk to you sometime about mIRC scripting. But only if you\'re interested :P
Actually mountain dew $2oo isn\'t an identifier at all. $2 is. $2oo will return what $2 is and oo. Try it out.
alias test $1oo[/code[
type /test h
Should return hoo. The same goes with $2, $3, etc. It\'s just how mIRC evaluates the param identifiers.
Now guys dont be hard on him. He might have misunderstood this place as an area where he can get help.
I realize your new to scripting. One thing is you dont need to repeat the event each line. You can use an if statement to see \"if ($1 = !op) { ... }\" etc. all in the one TEXT event. Also make sure you\'ve tested your scripts. If they\'ve been tested and they work. We\'ll be just as proud it worked as you were when you realized it worked properly. Just a couple tips and heads-up for future posts :) Myself and many other users on here would be glad to help you. Just hit us up with a PM or you can personally contact me at \"irc.swiftirc.net -j #msl\" or IRC PM me on that network as the nick Wave or Spitfire3292.
Sorry about the long post :P
The /\'s are just my style of coding. It\'s not the neatest. It just keeps me organized. It is also partially how I was taught. I learned /msg instead of msg but also learned if instead of /if. If you get what I mean :\ Anyway thanks for the compliment. I am using it as we speak :P So I hope it proves well for you aswell :) I also made this back in February. So I am a bit better at scripting nowadays. Could be a lot more efficient and have a couple more features added.
@RussellReal I love you <_< Haha hey man. How\'ve you been? You\'re a great PHP scripter and mIRC! Keep up the work man.
seems like a script that would create alot of confusion in the channel. if ppl quit or come in then who knows who has the ball and such. and this could create alot of spam by making ppl keep saying !kick or !steal or !goal over and over...nice idea though ...i may use it for a channel where no1 spams lol but thats hard to find...:D