Recall

Posted by LucasM on Wed 18 Nov 2009 07:54 PM — 3 posts, 16,557 views.

#0
Ok, since I've got an issue with exp mod, I'd figure I would ask the experts on this as well.

There is a do_recall function in the code (obviously) and I would like all new players to be able to use recall. Under system/commands.dat I have placed the following code

#COMMAND
Name recall~
Code do_recall
Position 100
Level 1
Log 0
End

I really do not want anyone to have to learn this, but since I could not get it to work so far I added this in system/skills.dat

#SKILL
Name recall~
Type Skill
Info 0
Flags 0
Target 2
Minpos 109
Mana 0
CanCharge 0
Code do_recall
Dammsg ~
Minlevel 0
End

and still does not seem to work, even after they create a new character and I sset recall to them.
Amended on Wed 18 Nov 2009 08:00 PM by LucasM
Canada #1
You'll need to decide if you want it to be a skill or a command. It can't be both.

The easiest route, IMO, is to first remove 'word of recall' as a spell then create the command recall. There is more to creating a command than putting it in commands.dat. Check the DOC folder and read command.txt, it gives instructions.
#2
Hanaisse said:

You'll need to decide if you want it to be a skill or a command. It can't be both.

The easiest route, IMO, is to first remove 'word of recall' as a spell then create the command recall. There is more to creating a command than putting it in commands.dat. Check the DOC folder and read command.txt, it gives instructions.


Ok, thanks for the tips, this will get me on my way... and I'm lacking the doc folder. I'll have to find a different download I guess.

EDIT~
Got the doc folder... wow! this is really helpful thanks again...

EDIT~
Yea it was a simple switch of moving the skill do_recall to the proper .c... Done and done