View unanswered posts | View active topics
|
Page 1 of 1
|
[ 4 posts ] |
|
| Author |
Message |
|
Poi
|
Post subject: A few name questions... Posted: Tue Jul 08, 2008 8:45 pm |
|
Joined: Fri Apr 14, 2006 9:36 am Posts: 240
|
|
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 =/
|
|
| Top |
|
 |
|
CWO
|
Post subject: Posted: Fri Jul 11, 2008 2:26 am |
|
Joined: Sat Feb 04, 2006 5:49 pm Posts: 745 Location: Chicago, IL USA
|
|
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.
Last edited by CWO on Sat Jul 12, 2008 7:02 am, edited 1 time in total.
|
|
| Top |
|
 |
|
Poi
|
Post subject: Posted: Fri Jul 11, 2008 8:46 am |
|
Joined: Fri Apr 14, 2006 9:36 am Posts: 240
|
|
| Top |
|
 |
|
CWO
|
Post subject: Posted: Sat Jul 12, 2008 7:03 am |
|
Joined: Sat Feb 04, 2006 5:49 pm Posts: 745 Location: Chicago, IL USA
|
|
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.
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|