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 03-26-2002, 08:12 AM
weddin00 weddin00 is offline
Registered User
Join Date: Jan 2002
Posts: 25
weddin00 is on a distinguished road
Changing Nicks

I know some1 asked this so here is the script I use to change some1's nick. Its a easy sript and I'm probably gonna get razzed by the experts,but here it is,my banned.graal Script

//NPC made by Vegeta
if (playerenters) {
freezeplayer 10;
setplayerprop #c,I didnt listem to the rules and am stuck in ban.;
disableweapons;
}
if (playerchats) setplayerprop #c,I'm Very Stooopid;

There it is,easy but effective. Use it freely.If any experts have suggestions to make it better,feel free.I'm noob at scripting.
__________________
To be the Man,you have to Beat the Man,and I am The Man!WOOOOOOO
Reply With Quote
  #2  
Old 03-26-2002, 08:23 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
this doesn't change their nick names
__________________
[signature]insert here[/signature]
Reply With Quote
  #3  
Old 03-26-2002, 08:28 AM
Dustey Dustey is offline
Registered User
Join Date: Nov 2001
Location: Do You Think I Know?
Posts: 193
Dustey is on a distinguished road
Send a message via AIM to Dustey
i like it though even though it dont change nicks maybe the #n would help instead of #c
__________________
And Yes I work For.... Renegade
Reply With Quote
  #4  
Old 03-26-2002, 08:39 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Yeah, #c is the string for the players chat field, #n is for their nickname, and #g is for the guild tag... and there are alot more, methinks they are all at the bottem of commands.rtf
Reply With Quote
  #5  
Old 03-26-2002, 08:41 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
#n is read only client side
Reply With Quote
  #6  
Old 03-26-2002, 08:45 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by Bhala
#n is read only client side

what about serverside??
__________________
[signature]insert here[/signature]
Reply With Quote
  #7  
Old 03-26-2002, 10:22 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
da**, i love P2P scripting

*drools*
__________________
[signature]insert here[/signature]
Reply With Quote
  #8  
Old 03-26-2002, 11:08 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
Quote:
Originally posted by Kaimetsu


Like most things, it becomes mutable on the serverside.
mutable? I hate my mediocre english
Reply With Quote
  #9  
Old 03-26-2002, 02:55 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Josey=-
NPC Code:
if (playerenters){
setplayerprop #c,setnick Ooh wee!;
}

__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #10  
Old 03-26-2002, 09:33 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by joseyisleet
-=Josey=-
NPC Code:
if (playerenters){
setplayerprop #c,setnick Ooh wee!;
}

doesn't work OFFLINE!!!!!

__________________
[signature]insert here[/signature]
Reply With Quote
  #11  
Old 03-27-2002, 01:02 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
Quote:
Originally posted by Kaimetsu


Mediocre? What are you talking about?
I don't know
Reply With Quote
  #12  
Old 03-27-2002, 02:37 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by screen_name


doesn't work OFFLINE!!!!!

OF CORSE!
setnick doesn't work offline. duh.
Anyways yes #g and #n work serverside like most things. But for non-p2p its best to just use Josie's script.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
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 04:24 PM.


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