Well no, its like this:
its a database npc calling class blah...
NPC Code:
// Database npc:
if (created||initialized) {
showcharacter
join blah;
}
// class blah:
if (playerchats) {
tokenize #c;
if (strequals(#c,do #t(1) #t(2)))
with(getplayer(#a)) function();
}
//#CLIENTSIDE
function function() {
showimg blah;
}