PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Request for scripts => Topic started by: Ravage on 16 October, 2011, 14:46:10

Title: Script to filter prefix in mainchat or pm
Post by: Ravage on 16 October, 2011, 14:46:10
Hi,

I need a script that can remove prefix in mainchat or if possible in pm with a filter.

Should work smth. like this:

Let`s have a userlist ie.:

[Operator]-[US]-User
-][-REG-][-[SWE]User2


If i enable Filter with given stuff like this:

Filter: "[US]-" / "-][-REG-][-" / etc.

The corresponding result in mainchat or pm would look like this:

<[Operator]-User> test
<[SWE]User2> test


Thank you

Regards,
Ravage
Title: Re: Script to filter prefix in mainchat or pm
Post by: Ravage on 20 October, 2011, 00:25:44
Hi there,

thank you very much for your work.

I have it allready in use on two hubs and i can clearly see a change in mainchat looks so clean and
so nice and so.. ah nvm you get the idea...

When you filter out the Ascii artwork appendage, you can clearly detect a nickname on some nicknames.
btw, Is it actually sufficient to say 'thank you'? I mean seeing all this code... This looks like some work bro,
you deserve some respect bro  ;D

Thank you

Greetings,
Ravage