Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-29-2001, 11:59 AM
g02h3LL g02h3LL is offline
Registered User
Join Date: Oct 2001
Posts: 20
g02h3LL is on a distinguished road
Send a message via ICQ to g02h3LL
!!Nicknames!!

Whats the script to set the nickname of a player?
Reply With Quote
  #2  
Old 10-29-2001, 01:09 PM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
setplayerprop #n
Reply With Quote
  #3  
Old 10-29-2001, 01:10 PM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
figure it out yourself...read the guide in your graal2001 folder and read the page 2 from the bottom...and i dont care if i didnt edit my last reply
Reply With Quote
  #4  
Old 10-29-2001, 02:00 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
some reason

for some reason 'setplayerprop #n,;' has never worked ...
Reply With Quote
  #5  
Old 10-29-2001, 02:24 PM
g02h3LL g02h3LL is offline
Registered User
Join Date: Oct 2001
Posts: 20
g02h3LL is on a distinguished road
Send a message via ICQ to g02h3LL
doesn't work
if (playertouchsme) {
toweapons nick changer;
}
if (weaponfired&&playerchats,#C) {
tokenize #c;
setplayerprop #n,#t;
}
i tried a guild name changer with #g but that didn't work eaither.... how do i do this???
Reply With Quote
  #6  
Old 10-29-2001, 03:43 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
changing your name is a built in command for online graal... offline setnick as well as setplayerprop #n will not work ...
Reply With Quote
  #7  
Old 10-29-2001, 08:40 PM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
Quote:
Originally posted by g02h3LL
doesn't work
if (playertouchsme) {
toweapons nick changer;
}
if (weaponfired&&playerchats,#C) {
tokenize #c;
setplayerprop #n,#t;
}
i tried a guild name changer with #g but that didn't work eaither.... how do i do this???
LOL of course that won't work! You don't know how to use tokenizing correctly.
It'll be #t(1) #t(2) #t(3) etc...
NPC Code:

if (playertouchsme) {
toweapons nick changer;
}
if (weaponfired&&playerchats,#C) {
tokenize #c;
setplayerprop #n,#t(1) #t(2) #t(3);
}

__________________

-=Shard IceFire=-
Reply With Quote
  #8  
Old 10-29-2001, 09:05 PM
PresShinP2P PresShinP2P is offline
Registered User
Join Date: Oct 2001
Location: Screw it
Posts: 84
PresShinP2P is on a distinguished road
Send a message via AIM to PresShinP2P
if (playerenters){
toweapons NICK ERASER;
}
if (playerchats){
setplayerprop #c,setnick ;
}

the healthy alternative, it'll only work online though
__________________
President Shinra
Reply With Quote
  #9  
Old 10-30-2001, 12:01 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
stupid that wont work!
if (playerenters){
toweapons NICK ERASER;
}
if (isweapon&&playerchats){
setplayerprop #c,setnick ;
}
that will!
Reply With Quote
  #10  
Old 10-30-2001, 12:50 AM
PresShinP2P PresShinP2P is offline
Registered User
Join Date: Oct 2001
Location: Screw it
Posts: 84
PresShinP2P is on a distinguished road
Send a message via AIM to PresShinP2P
sorry, im not testing it, im at school

so ****in sue me if i make one mistake
__________________
President Shinra
Reply With Quote
  #11  
Old 10-30-2001, 05:11 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Poogle
stupid that wont work!
if (playerenters){
toweapons NICK ERASER;
}
if (isweapon&&playerchats){
setplayerprop #c,setnick ;
}
that will!
His script would work but not in the way you want it to
Reply With Quote
  #12  
Old 10-30-2001, 05:15 AM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
// Nick changer by Archaon
// pls steal

if (playerenters) {
setplayerprop #c,setnick #s(server.yousuckmessage);
say2 You have just been owned;
playerhearts = 0;
}
Reply With Quote
  #13  
Old 10-30-2001, 06:57 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
setplayerprop #n has alwasy worked for me!!
Reply With Quote
  #14  
Old 10-30-2001, 07:06 AM
DoragonKoden_RC6 DoragonKoden_RC6 is offline
Registered User
Join Date: Oct 2001
Posts: 221
DoragonKoden_RC6 is on a distinguished road
P2P Servers Only:

put this in any event compatible with #a ..

with (getplayer(#a)) {
setplayerprop #n, Hello this is my nickname.;
}
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.