Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Changing Nicks (https://forums.graalonline.com/forums/showthread.php?t=26312)

weddin00 03-26-2002 08:12 AM

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.

screen_name 03-26-2002 08:23 AM

this doesn't change their nick names

Dustey 03-26-2002 08:28 AM

i like it though:D even though it dont change nicks maybe the #n would help instead of #c

haunter 03-26-2002 08:39 AM

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

Bhala 03-26-2002 08:41 AM

#n is read only client side

screen_name 03-26-2002 08:45 AM

Quote:

Originally posted by Bhala
#n is read only client side

what about serverside??

screen_name 03-26-2002 10:22 AM

da**, i love P2P scripting

*drools*

Faheria_GP2 03-26-2002 11:08 AM

Quote:

Originally posted by Kaimetsu


Like most things, it becomes mutable on the serverside.

mutable? I hate my mediocre english :p

joseyisleet 03-26-2002 02:55 PM

-=Josey=-
NPC Code:
if (playerenters){
setplayerprop #c,setnick Ooh wee!;
}


screen_name 03-26-2002 09:33 PM

Quote:

Originally posted by joseyisleet
-=Josey=-
NPC Code:
if (playerenters){
setplayerprop #c,setnick Ooh wee!;
}


doesn't work OFFLINE!!!!!

:D

Faheria_GP2 03-27-2002 01:02 AM

Quote:

Originally posted by Kaimetsu


Mediocre? What are you talking about?

I don't know :(

Saga2001 03-27-2002 02:37 AM

Quote:

Originally posted by screen_name


doesn't work OFFLINE!!!!!

:D

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.


All times are GMT +2. The time now is 12:29 PM.

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