why would you want to say a long amount of text via a mirc bot. just do longer phrases
talking like this
is
really
gay
but, talking like this is the proper way to do. multiple lines is not always the best way to go, and if i were you, i would delete this piece of code. Its not really a code, you simply added a if ($nick == $nick) that is equivalent to if (1 == 1) {...}
You should try and look at other people's codes. use them, modify them extremely, and then take out another version to call it your own. (hawkee reality)
something you might wanna add is a flood protection.
Lets say on your channel, there is 100 nicknames/users
Bam! *.net *.split
50% of them leaves.
Bam. Net-merge (a "*.net *.split" fixing itself)
50 users joins your room. you send 150 /say, you quit in (Excess flood)
Try to make sure they are not rejoining from a netsplit, or put a %var that will make the script do nothing if exceeded . with a /return or /halt.
here is an example with your code.
Code
Please keep in mind, that i really don't think small lines of useless codes like this one should be on hawkee.
There should be a minimum of ~50 lines to be valid...
But the method is there, learn from it, and use it in everything. (with different %variable.names.
Here is what i would do. (if i would be in a life or death situation)
this is completely useless... your client is your bouncer. you are evading the principal reason why someone would use a bouncer...
Nice coding, it completely works, i see your talent.. the thing is.. its not usefull... at all.
a Bouncer is to keep you alive in case your client crashes, or to protect yourself from ddos attacks. witch even now, your client will be the one receiving it (if happening)
$chr(113),$chr(117),$chr(105),$chr(116) == QUIT
the complete reply would be /raw quit :/oper
so you quit like
* Quit: nickname ident@host.name.com (Reason: /oper)
@Jethro_ i don't do regex. i find it stupid to learn a language for a language. You can do everything else without regex. and i don't mind to have 200 more lines to a script just because i didn't use regex.
:)
Here is what i have done with your script :)
If you look: http://pastebin.com/raw.php?i=tzg0kMda you can see it without line breaks. (i hate pasting codes on hawkee.com cauz of those breaks.
hmm, this is not a script. its simply a modified event, you should try and do something a little more "complex" like using $read and if then else statements.
6/10 (Neat, since you tried your best, we all gotta start somewhere)
<end of sarcasm/>