Page 1 of 1

still having problems with the take item command

Posted: Sat Dec 21, 2002 11:20 pm
by elpresidente
ok ive tried the command text the spell and the exit as a spell but i cant seem to get this to work, this is the text block and spell setup i have at the moment



SPELL



Name: Cloak retreval

short name:

desc1:

desc2:

Type: General

Target: Self

magery: none

type of attack: normal

resist ability:magic resistance

type of resists: never

norm message style: yes

req lev:0

energy:0

mana:0

difficulty:100



then the ability

148 textblock 20001



now that the text block says



checkitem 9999: minlevel 4 20002: takeitem 9999 20003



where 2000X is the message



any help please

Re: still having problems with the take item command

Posted: Sun Dec 22, 2002 1:32 am
by Tsunami
The spell part should work.. the text block will do nothing if you don't have item 9999, shows message 20002 if you're below level 4, and.. it takes the item without a message if you do? I'm pretty sure takeitem doesn't allow a fail message, so put that on the checkitem, like:



checkitem 9999 20003:minlevel 4 20002:takeitem 9999



You might need to take out the spaces after the colon, I'm not sure.. did you set the exit as spell type or delay type? Or if you try putting the spell in the room, it might need to be "self or single" type.

Re: still having problems with the take item command

Posted: Sun Dec 22, 2002 2:37 am
by elpresidente
thanks heaps that works

Re: still having problems with the take item command

Posted: Sun Dec 22, 2002 6:52 am
by elpresidente
i made it a few rooms aswell so that if they survive the first one or 2 the others will get em ;)