View Single Post
  #2  
Old 05-26-2002, 04:19 AM
Spanko Spanko is offline
Squeaker of Soles
Spanko's Avatar
Join Date: Nov 2001
Location: The Netherworl...lands
Posts: 1,366
Spanko is on a distinguished road
Send a message via ICQ to Spanko Send a message via AIM to Spanko Send a message via Yahoo to Spanko
Well if you have an NPC-Server it's a simple case of just making a serverside part set the nickname, like this system example:

NPC Code:
if (actionserverside)
setplayerprop #n,#s(clientr.nickname);
//#CLIENTSIDE
if (created||timeout) {
if (!(strequals(#n,#s(clientr.nickname)))
triggeraction x,y,serverside,;
timeout=0.05;
}


If you aren't going to have an NPC-Server it's trickier, but can apparently be done by setting the players chat to "setnick nickname"

Both examples don't work offline though, anyway basically with NPC-Server any serverside NPcs can change players nicknames using setplayerprop #n. Without the same affect can be achieved by setting a players chat to 'setnick nickname'
__________________

ICQ: 125283920
MSN: [email protected]
AIM: Squeax0r
Squeaker seems unable to access the forum using this account.. tis a sad day.
Now with occasional Asuka flavour! Ooops a bit too much...
Asuka should be king of Dustari!

"Y'know, some days even my lucky rocketship underpants don't even help."
Reply With Quote