Rebirth

smoochy boys on tour

Painkiller

LOMCN Veteran
Veteran
Loyal Member
Feb 11, 2006
316
2
65
I wanna make it so they get a rank

Tao = RebornTaoist
War = RebornWarrior
Wiz = RebornWizard

How do i set it up so they gain the rank ?

; ===================================
; Npc Def NPC File : Rebirth-HZ05
; Rebirth npc in HomeZone
; -----------------------------------
; Name: Rebirth
; Job:
; Map No: HZ05
; Pos X
; Pos Y
; File name: *removed*
; Comment: Rebirth npc in HomeZone
;================================================= =
;
[@main]
#IF
checklevel 80
#say
Hey there, welcome to the <$SERVERNAME> rebirth system\
would you like to be rebirthed as you have done a good\
job at reaching level 80\ \
<Yes Please/@yes> <No Thank You/@exit>
#ELSESAY
Sorry you need to be level 80 to be rebirthed.
[@yes]
#IF
checkrenewlevel = 0
#ACT
renewlevel 1 50 3
GIVE
GIVE
GIVE
GIVE
GIVE
GIVE
GIVE
GIVE
GIVE
GIVE
GIVE
GIVE
set [50] 1
#SAY
enjoy your new life
#elseSAY
you already have been reborn or incorrect level.\\


heres my script, if theres owte wrong with this lemme know (i aint added items yet) :P

thanks

/pwnage
 

evildan

LOMCN Veteran
Veteran
Aug 8, 2004
310
3
65
Dartford/Kent
Not used rebirth yet, but i would do it this way.

On your rebirth npc, make it set a flag. Example
#ACT
SET [100] 1 For warrior
SET [101] 1 For wiz
SET [102] 1 For tao

Then in Qfunct put this.

[@logon] or [@login]
#IF
CHECK [100] 1
#ACT
Setrank blah blah, forgot command
break

#IF
CHECK [101] 1
#ACT
setrank blah blah

Hope this kinda helps you :P
 
Upvote 0

TravisW

LOMCN Veteran
Veteran
Sep 4, 2007
737
17
125
Ye, sorta like evildan said, have it set a flag or add name to a text list, then in Qmanage, have it check for said lists/flags.

In Qmanage;

[@login]
#IF
CHECKNAMELIST rebirthwar.txt
#ACT
SETRANKLEVELNAME %s\whatever you want title to be

#IF
CHECKNAMELIST rebirthwiz.txt
#ACT
SETRANKLEVELNAME %s\*<PwNaGeWiZ>*

#IF
CHECKNAMELIST rebirthtao.txt
#ACT
SETRANKLEVELNAME %s\[Masterblaster]
break <---use this only after your last entry under[@login]

Also you should have the ranks given on the npc script when they rebirth.
#ACT
STRANKLEVELNAME %s\whatever
 
Upvote 0

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,354
52
305
England
Put travis' Qmanage in and use this script;

Code:
[@main]
#IF
checklevel 80
#say
Hey there, welcome to the <$SERVERNAME> rebirth system\ 
would you like to be rebirthed as you have done a good\ 
job at reaching level 80\ \
<Yes Please/@yes> <No Thank You/@exit>
#ELSESAY
Sorry you need to be level 80 to be rebirthed.

[@yes]
#IF
CHECKJOB Warrior
checkrenewlevel = 0
#ACT
renewlevel 1 50 3
ADDNAMELIST rebirthwar.txt
#IF
CHECKJOB Taoist
checkrenewlevel = 0
#ACT
renewlevel 1 50 3
ADDNAMELIST rebirthtao.txt
#IF
CHECKJOB Wizard
checkrenewlevel = 0
#ACT
renewlevel 1 50 3
ADDNAMELIST rebirthwiz.txt
#SAY
enjoy your new life
#elseSAY
you already have been reborn or incorrect level.\\

You can also put class specific rebirth items in this way ;)
 
Upvote 0