pet npc

mississ1

Dedicated Member
Dedicated Member
Mar 23, 2007
81
0
32
i am after to add a npc that can give chars pets at a certain lvl, how should i set up the text for this?
 

D4N0

Dedicated Member
Dedicated Member
Apr 22, 2007
239
1
45
do u want every 1 to do everything for u. literally everything?
 
Upvote 0

Omen_lom

Golden Oldie
Golden Oldie
May 29, 2006
1,761
14
124
err

sorta like this

[@main]
#SAY
hello i am pet man\
<Level 1-10 pet/@1pet>\
<Level 11-20 pet/@2pet>\
<Level 21-30 pet/@3pet>\\

[@1pet]
#IF
check level > 1
#ACT
RECALLMOB Tongs 2
#SAY
Here you go <$USERNAME> have fun!!\ \
<Thanks/@exit>\
#ELSESAY
Sorry <$USERNAME>! your not strong enough.\ \
<Exit/@exit>\

[@2pet]
#IF
check level > 10
#ACT
RECALLMOB BigTongs 2
#SAY
Here you go <$USERNAME> have fun!!\ \
<Thanks/@exit>\
#ELSESAY
Sorry <$USERNAME>! your not strong enough.\ \
<Exit/@exit>\

[@3pet]
#IF
check level > 20
#ACT
RECALLMOB EvilTongs 2
#SAY
Here you go <$USERNAME> have fun!!\ \
<Thanks/@exit>\
#ELSESAY
Sorry <$USERNAME>! your not strong enough.\ \
<Exit/@exit>\

lol thats very basic, but its to give you a idea.
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
yer u really need 2 learn to do soem stuff on ur own... theres plenty of guides... IF and ACT commands in ur server files... could at least give it ago then ask ppl 2 check ur work lol


also at omen:

[@1pet]
#IF
CHECKLEVELEX > 1
#ACT
RECALLMOB Tongs 1 120 0 0
RECALLMOB <PetName> <level> <untame> <time> <dunno> <dunno> lol
(if u want 2 pets... u have to put the line twice.. or 3 times etc..)

#SAY
Here you go <$USERNAME> have fun!!\ \
<Thanks/@exit>\
#ELSESAY
Sorry <$USERNAME>! your not strong enough.\ \
<Exit/@exit>\

ignore bits in bold thats just tellin u wot it does
 
Last edited:
Upvote 0

Omen_lom

Golden Oldie
Golden Oldie
May 29, 2006
1,761
14
124
yer u really need 2 learn to do soem stuff on ur own... theres plenty of guides... IF and ACT commands in ur server files... could at least give it ago then ask ppl 2 check ur work lol


also at omen:

[@1pet]
#IF
CHECKLEVELEX > 1
#ACT
RECALLMOB Tongs 1 120 0 0
RECALLMOB <PetName> <level> <untame> <time> <dunno> <dunno> lol
(if u want 2 pets... u have to put the line twice.. or 3 times etc..)

#SAY
Here you go <$USERNAME> have fun!!\ \
<Thanks/@exit>\
#ELSESAY
Sorry <$USERNAME>! your not strong enough.\ \
<Exit/@exit>\

ignore bits in bold thats just tellin u wot it does

thx ben for clearing that up for me :D. That should help other people out too.
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
not hard to look at the text docs with #IF and #ACT commands in it! :P

litterly has everythin in there ne1 needs.. there isnt any need 2 post here askin for scripts, other than bein lazy

i could understand if u was new 2 it and wanted it 2 be checked... but bein lazy is just gay

btw u might wanna add a check to make sure u can only get 1/2 pets or w/e... otherwise ppl will get 34832943 pets
 
Upvote 0

Omen_lom

Golden Oldie
Golden Oldie
May 29, 2006
1,761
14
124
not hard to look at the text docs with #IF and #ACT commands in it! :P

litterly has everythin in there ne1 needs.. there isnt any need 2 post here askin for scripts, other than bein lazy

i could understand if u was new 2 it and wanted it 2 be checked... but bein lazy is just gay

btw u might wanna add a check to make sure u can only get 1/2 pets or w/e... otherwise ppl will get 34832943 pets

:P hes probs new ben lol.
 
Upvote 0

mississ1

Dedicated Member
Dedicated Member
Mar 23, 2007
81
0
32
yes i am new to all of this and cant seem to find a guide on making scripts like this thats why i ask, so if any1 cn link a guide it wud help alot.
 
Upvote 0

mississ1

Dedicated Member
Dedicated Member
Mar 23, 2007
81
0
32
rite tryed to add a check to the script to limit the amount of pets a char can have, but it wont work,

[@1pet]
#IF
CHECKRECALLMOB 5
CHECKLEVEL > 1
#ACT
RECALLMOB Tongs 2
#SAY
Here you go <$USERNAME> have fun!!\
\
Thanks/@exit>
#ELSESAY
pet limit reached.\ \
Exit/@exit>
 
Upvote 0

NeOn

Golden Oldie
Golden Oldie
Aug 12, 2003
845
0
153
Chatsworth Estate, Manchester
rite tryed to add a check to the script to limit the amount of pets a char can have, but it wont work,

[@1pet]
#IF
CHECKRECALLMOB 5
CHECKLEVEL > 1
#ACT
RECALLMOB Tongs 2
#SAY
Here you go <$USERNAME> have fun!!\
\
Thanks/@exit>
#ELSESAY
pet limit reached.\ \
Exit/@exit>

because its wrong

#IF
checkslavecount < 1


;)

if you are using TDs files if u go to the update folder theres ACT Statment and IF statement docs ... They will help you to script your own npcs,

if you want to add me to msn i will be more than happy to help you script, took me a while to learn but slowy gettin use to it now once you know the general codes its pretty easy.

[email protected]
 
Last edited:
Upvote 0