This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Modification of lang files

Old posts that have not been replied to for several years.
Locked
N
Nexus6
Op
Posts: 114
Joined: Mon Sep 02, 2002 4:41 am
Location: Tuchola, Poland

Modification of lang files

Post by Nexus6 »

I wanted to modify lang and i tried many times I don't have clue why doesn't it work properly. I modified it under win using wordpad, but I doubt it might cause prob. I wanted to make it look Banned bold and B underlined. I've just copied mirc ctrl codes if there is a better way let me know, i'd like to get info about colors bold and underline.
# IRC_
0x600,Banned
It looked ok on IRC i coul
[18:26] *** Bot2 was kicked by Bot (Banned)
but prob is here, when I add ban by .+ban nick reason it doesn't display reason of ban only banned:
[18:26] ***Bot2 was kicked by Bot (banned:)
0x66a,banned:
wasn't modified.
Thanks for any help
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

You have to use following syntax:

\002 for bold
\037 for underline
\003x or \003x,y for color, where x and y are mirc color codes.
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
N
Nexus6
Op
Posts: 114
Joined: Mon Sep 02, 2002 4:41 am
Location: Tuchola, Poland

Post by Nexus6 »

[21:04] *** Bot1 was kicked by Bot (\002\037B\037anned\002)
still doesn't work ;)
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

Well, pitty it didn't work for you. But, for future reference, those escapes DO work when sending text to server, so you might need them sometime if you decide to script something.
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

I dunno about wordpad, but in vi you can press control v, then control c for color, or control b for bold, control r for reverse, control o to reset. Just make sure you start with control v.

In windows you can probably.. um.. use the character map thing. Just color would be the 3rd char. Then you copy it and paste it in wordpad.
N
Nexus6
Op
Posts: 114
Joined: Mon Sep 02, 2002 4:41 am
Location: Tuchola, Poland

Post by Nexus6 »

well it works with mirc codes, only prob is that it does ban users with reason (banned:) and doesn't include reason from ban list.
N
Nexus6
Op
Posts: 114
Joined: Mon Sep 02, 2002 4:41 am
Location: Tuchola, Poland

Post by Nexus6 »

This is what I get when i load it, thought it might help...
[13:55] (Bot) [14:01] #Nexus6 # +lang n
[13:55] (Bot) [14:01] Malformed text line in ./language/core.n.lang at 50.
[13:55] (Bot) [14:01] Malformed text line in ./language/core.n.lang at 126.
[13:55] (Bot) [14:01] Malformed text line in ./language/core.n.lang at 259.
[13:55] (Bot) [14:01] Malformed text line in ./language/core.n.lang at 260.
[13:55] (Bot) [14:01] Malformed text line in ./language/core.n.lang at 261.
[13:55] (Bot) [14:01] Malformed text line in ./language/core.n.lang at 262.
[13:55] (Bot) [14:01] Malformed text line in ./language/core.n.lang at 263.
[13:55] (Bot) [14:01] Malformed text line in ./language/core.n.lang at 264.
[13:55] (Bot) [14:01] Malformed text line in ./language/core.n.lang at 265.
N
Nexus6
Op
Posts: 114
Joined: Mon Sep 02, 2002 4:41 am
Location: Tuchola, Poland

Post by Nexus6 »

Got it! It was because of windows editors, when I edited all file under vi it worked :) thanks stdragon, I'd like to know what's the code in vi for underline and if how can i get this codes in pico.
Thanks in advance :)
Locked