Take a look at ATAC 3.0.0 source code: exec_PunishName function is what you want to look at, this is the core for handling the punishment titles.
The only thing is you must encode the string to send it back to plugin 1.
Look at any punishment scripts for function: public atac_punishment_name( id ).
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd