|
Dko Beginner
Joined: 25 May 2004 Posts: 13
|
Posted: Tue May 25, 2004 3:40 am
Gota deal with buffers |
In some of the muds I play on basically doesn't accept anything I post thats longer then there buffer length. I wana know is there a way to detect if ive gone over this length (Usualy 250) so I can stop, send, then type some more? Or have it so Zmud keeps me from typing once I reach that length.
|
|
|
|
Dko Beginner
Joined: 25 May 2004 Posts: 13
|
Posted: Tue May 25, 2004 4:10 am |
Is this too complicated? Let me try to give an example.
I type this and press return with a 10 char buffer. "Hi"
The mud echos. "Hi"
I type this. "Hello my name is monkey man." <- If it was just 'Hello my' then it would be ok.
The mud echos. "Sorry post too long."
I wana be able to tell when ive reached the 10 chars |
|
|
|
Serentus Apprentice
Joined: 28 Sep 2001 Posts: 103 Location: USA
|
Posted: Tue May 25, 2004 10:17 am |
View->Preferances->General
Under Command Line you should see a check box for 'Show Column' whith this checked it shows the column number (number of characters) in the command line. You can also set the 'Bell Column' to 250 and it will beep at you when you hit the 250th column.
or you could give this a try, but I doubt this is what your looking for
#ONINPUT {(*)} {#IF %length(%1)>250 {%left(%1,250);%right(%1,250)}}
This would break it up at the 250th character and send it as 2 lines |
|
|
|
Dko Beginner
Joined: 25 May 2004 Posts: 13
|
Posted: Wed May 26, 2004 1:28 am |
Thanks all that info will help imensly. Even the trigger ^^
|
|
|
|
|
|