mirc line checker

By Cheiron on Apr 22, 2010

This was done for me some time ago in the help forum and i thought it was time to submit it as tribute.. i cant find the url so am unable to find who helped me.
If the creator can come forward with the ORIGINAL url i will gladly accredit this to you.

this is a counter that checks if you have typed too many characters in a sentance. you set the variable (400) to the server default character allowance for a line and if you go over it on a sentance, it will not post it. as per this quote below

  • Timer 1 activated
    Line size is too long - 15 characters over the allowed limit.
    • Timer 1 halted

then you just delete appropriate characters on your typing line and hit enter. then it will post without the server cutting it off.

loads into a new clean remotes and is good for mirc 6.3 and up.

 on *:input:#:if ($len($1-) > 400) { timer 1 1 echo 4 -a Line size is too long - $calc($len($1-)-400) characters over the allowed limit. | editbox -a $1- | halt } 

Comments

Sign in to comment.
Cheiron   -  Apr 22, 2010

nothing in raw005 .. but i found it the hard way.. 431 characters

 Respond  
Jethro   -  Apr 22, 2010

You do: /debug @Debug

It will open a @Debug window for you. Once connected, all the server info will be sent to it. Locate raw numeric 005 and see what you get.

 Respond  
Cheiron   -  Apr 22, 2010

can i do a //echo command for that or not with me online ?

 Respond  
Jethro   -  Apr 22, 2010

You might be able to find the allowed character limit from the return of raw 005. What do you get for raw 005 upon connecting to a server?

 Respond  
tv3636   -  Apr 22, 2010

On a macbook at school right now so I can't check (can't even find the mIRC help file online...) but I'm pretty sure there's an identifier that can get the server's character limit. It'd be easier to use that than to have to manually modify it for each server. Especially if you're on multiple servers.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.