Page 1 of 1

A few name questions...

Posted: Tue Jul 08, 2008 8:45 pm
by Poi
1. I want to be able to have multiple lined names, mainly for staff so it would be something like:
Seer
Johnny
On separate lines

2. I want to, somehow, make it so the staff member's name is changed automatically to something like
Seer
Johnny(See #1)

So it says Seer automatically, or gm, etc.


Oh, and
3. I want to be able to color part of names

I don't want this script made for me, I just need some directions as to how to start =/

Posted: Fri Jul 11, 2008 2:26 am
by CWO
What you would have to do is do a packethook for the SendAscii packet (0x1C). You can intercept the packet and compare to see if it is the person's name. After confirming it is, just grab their cmdlevel, create another SendAscii packet, send the cmdlevel name, and then have POL send the original packet after that.

SendAscii also sends what font and color to use.

Posted: Fri Jul 11, 2008 8:46 am
by Poi
Nvm

Posted: Sat Jul 12, 2008 7:03 am
by CWO
Fixed the first sentence of my post anyway in case you or anyone needs it. I tried to link to the SendAscii packet on the POL packets documentation but it seems it didn't work.