x77x
Master
Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4
|
2 part random rename *SOLVED*
spherenewb.scp
Code:
//****************************************************************************
// SPHERE by : Menasoft ©1997-2014
// www.sphereserver.net
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners. All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: Tuesday, April 15, 2014
//
VERSION=0.56c
// Get the starting items for each skill.
[NEWBIE MALE_DEFAULT]
// Male Generic Starting Clothes
NAME=#NAMES_RENAME1 && #NAMES_RENAME2
STR=75
DEX=75
INT=75
ITEM=i_gold,1000
[NEWBIE FEMALE_DEFAULT]
// Female Generic Starting Clothes
NAME=#NAMES_RENAME1 && #NAMES_RENAME2
STR=75
DEX=75
INT=75
ITEM=i_gold,1000
sphererename.scp
Code:
//****************************************************************************
// SPHERE by : Menasoft ©1997-2014
// www.sphereserver.net
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners. All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: Friday, April 25, 2014
//
VERSION=0.56c
[NAMES NAMES_RENAME1]
144
Ahui
Bai
Bao
Bei
Bian
Bo
Bu
Cai
Cao
Cen
Che
Chen
Cheng
Chunyu
Cui
Da
Dai
Dailai
Dang
Deng
Dian
Diao
Ding
Dong
Du
Fa
Fan
Fang
Fei
Feng
Fu
Gan
Gao
Gaotang
Gong
Gongsun
Gu
Guan
Guanqiu
Guo
Han
Hao
He
Hou
Hu
Hua
Huan
Huang
Huangfu
Huo
Ji
Jia
Jiang
Jiao
Jin
Jinhuan
Ju
Kan
Kong
Kuai
Lei
Leng
Li
Liang
Liao
Lin
Ling
Liu
Lou
Lu
Lun
Luo
Ma
Man
Mang
Mao
Meng
Mi
Mu
Mulu
Ning
Niu
Pan
Pei
Peng
Puyang
Qian
Qiao
Qin
Qu
Guan
Sha
Shan
Shao
Shen
Sheng
Shi
Sima
Song
Su
Sui
Sun
Taishi
Tan
Tang
Tao
Teng
Tian
Wan
Wang
Wei
Weichi
Wen
Wu
Xi
Xiahou
Xiang
Xiao
Xie
Xin
Xing
Xu
Xue
Xun
Yan
Yang
Yi
Yin
Yong
Yu
Yuan
Yue
Zang
Ze
Zhang
Zhao
Zhen
Zheng
Zhong
Zhou
Zhu
Zhuge
Zou
Zu
Zuo
[NAMES NAMES_RENAME2]
3
An
Ma
Zu
you get the idea...
force a 2 part random name like
Yong Ma
problem is, only one name is given NOT 2
Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 01-03-2015 09:40 AM by x77x.)
|
|
01-02-2015 09:38 AM |
|
|
Extreme
Grandmaster Poster
Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20
SphereCommunity
|
|
01-03-2015 02:51 AM |
|
|
Extreme
Grandmaster Poster
Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20
SphereCommunity
|
|
01-03-2015 04:23 AM |
|
|
Ben
Sphere Developer
Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18
SphereCommunity
|
RE: 2 PART random rename
Try with:
[NEWBIE MALE_DEFAULT]
NAME=#NAMES_RENAME1
var.name=<name>
NAME=#NAMES_RENAME2
NAME=<var.name> <name>
...
name templates can only be interpreted by a NAME= line (only 1 #name_blah at a time) and before anyone asks, I had to use a VAR and not a LOCAL since there is no LOCALs in templates.
So not impossible, just got to use your imagination
Edit: Guess I'm a little too late but locals did not work for me... they did for you?
AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
(This post was last modified: 01-03-2015 04:35 AM by Ben.)
|
|
01-03-2015 04:33 AM |
|
|
Extreme
Grandmaster Poster
Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20
SphereCommunity
|
|
01-03-2015 10:18 AM |
|
|