[HELP!] Need script for item name change NPC [HELP!]

smoochy boys on tour

benny182

Dedicated Member
Dedicated Member
Jul 6, 2006
63
0
52
Tried searching for it but couldnt find anything useful. As title says need an NPC which allows players to customise weapon/item names. Is it even possible? Thanks in advance!

P.S. Running 1.9 server files. Dunno if that makes any difference...
 

Far

tsniffer
Staff member
Developer
May 19, 2003
20,184
30
2,787
540
change an item name? no as far as i know thats not possible.
 
Upvote 0

Neptune

Golden Oldie
Golden Oldie
Nov 19, 2003
1,473
9
145
Chester :P
i kno that the server side of it 1.9 1.4 ect does help as commands r different. but i wud also like this command pls :) thnx peeps i will try search an find it now to see if i can find 1 but will edit this post if i cnt
 
Upvote 0

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
175
Netherlands
nobody saying?? ok then i am


(@@useitemname)
[@main]
#SAY
Please choose the Item you wish to rename\
------------------------------------------------------------\
<Armour/@@useitemname0>
------------------------------------------------------------\
<Exit/@exit>

[@@useitemname0]
#ACT
goto @ChangeName

[@ChangeName]
#IF
checkgold 300000
#act
take gold 300000
SETSCRIPTFLAG 1 1
sendmsg 7 Item_renamed_successfully.
Close
#elseact
sendmsg 7 You_don`t_have_enough_gold.


number 0 is armour as you see
number 1 weapon
number 2 candle/wings
number 3 necklace
number 4 Helmet
number 5 L brace
number 6 R brace
number 7 R ring
number 8 L ring


i think this is about right it works on my server tho
 
Upvote 0

Dano

Golden Oldie
Golden Oldie
Apr 18, 2006
696
6
125
Wales
kwl lol thats a gd skript i dnt think this is possible but.. can you get the colour changed???
 
Upvote 0

Neptune

Golden Oldie
Golden Oldie
Nov 19, 2003
1,473
9
145
Chester :P
thnx alot m8 i cudnt find it searching for it but i might of got sumin wrong lol just plain old me then init lol :P
 
Upvote 0

Far

tsniffer
Staff member
Developer
May 19, 2003
20,184
30
2,787
540
@stephen, which part of that npc allows u to input the name you want?

EDIT: doesnt change my armour name, thought i am using DM2 files so that cld b why. anyone got it working using this script?
 
Last edited:
Upvote 0

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
175
Netherlands
Farphit said:
@stephen, which part of that npc allows u to input the name you want?

EDIT: doesnt change my armour name, thought i am using DM2 files so that cld b why. anyone got it working using this script?


the setscriptflag part lets you enter a name
and ye its possible that it doesnt work with dm2 files as its based on one of the first sources tho its more easyer to be made with dm2 as there you can code things yourself you can also ask damian or whoevver to help you with coding it or code it for you
 
Upvote 0

benny182

Dedicated Member
Dedicated Member
Jul 6, 2006
63
0
52
Thanks very much stephenking! Major reps for you!
icon14.gif
 
Upvote 0

NickAKAVexus

Golden Oldie
Golden Oldie
Apr 16, 2005
1,427
1
145
New york
Put quotes around the messages you wanna send

Code:
"You_don`t_have_enough_gold."

No need for _ or anything else you can use spaces.
 
Upvote 0

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
175
Netherlands
NickAKAVexus said:
Put quotes around the messages you wanna send

Code:
"You_don`t_have_enough_gold."

No need for _ or anything else you can use spaces.

ye i know lol but i took it straight out of a textfile i still had around :P:P and edited a bit to his needs its not my own script of the server thx for clearing up tho

and farphit you can also try asking nick for dm2 code of item rename
 
Upvote 0