You are viewing a read-only archive of the Carrion Fields discussion forums built from a snapshot of the forum database on 2026-08-25. The search page works, though it is not as sophisticated as the old forum search. This archive encompasses approximately 25 years of CF discussion. Today, that discussion continues on Discord (see the main website for a link).

Some of the special-purpose forums are listed below along with their replacements (as of writing):


Subject: "make the SPELLS command...." Previous topic | Next topic
Printer-friendly copy Email this topic to a friend CF Website
Top General Discussions Santa Zulg The Circular File Topic #339
Show all folders

KlaakThu 06-Dec-07 09:31 PM
Member since 04th Mar 2003
350 posts
Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#339, "make the SPELLS command...."


          

work more like SKILLS when using it specifically.
(i.e. SPELLS "word of recall")

when you use SKILLS this way, you can abbreviate the skill you're entering, but it doesn't seem to work this way with spells. With spells, it seems you have to type out the whole spell name, including quotes for multiple words, whereas with skills, you don't need the quotes OR multiple words, unless two skills begin with the same word.

sp light
You know no such spell.

sp lightbind
Your ability in the spell lightbind is at 81%(81%), and it costs 80 mana.

sp conjure
You know no such spell.

sp conjure elemental
You know no such spell.

sp "conjure elemental"
Your ability in the spell conjure elemental is at 81%(81%), and it costs 100 mana.

sk par
Your ability in the skill parry is at 77%(77%).

sk sec
Your ability in the skill second attack is at 85%(85%).

  

Top

ZulghinlourSun 09-Dec-07 11:47 AM
Member since 04th Mar 2003
9792 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#340, "It does..."
In response to Reply #0


          

>work more like SKILLS when using it specifically.
> i.e. SPELLS "word of recall")
>
>when you use SKILLS this way, you can abbreviate the skill
>you're entering, but it doesn't seem to work this way with
>spells. With spells, it seems you have to type out the whole
>spell name, including quotes for multiple words, whereas with
>skills, you don't need the quotes OR multiple words, unless
>two skills begin with the same word.

That's because there are a crapload more spells than skills, and it will match the FIRST one it comes across. In case of lightbind, you just tried to check your ability in the lightning bolt spell. Try spell lightb. In the case of conjure, you checked against conjure animal, you'd have to do spell 'conjure e'

I'm leary to change the lookup function because it's probably used in many different places and I don't know what it would impact.

So long, and thanks for all the fish!

  

Top

    
KlaakTue 11-Dec-07 01:33 PM
Member since 04th Mar 2003
350 posts
Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#347, "what about the need to use quotes?"
In response to Reply #1


          

With sp conjure e, you still need to start with quotes. I notice that sp word works just find. Why is it that some multi-word spells seem to work without quotes, and others need it?

  

Top

        
ZulghinlourTue 11-Dec-07 01:40 PM
Member since 04th Mar 2003
9792 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#348, "RE: what about the need to use quotes?"
In response to Reply #2


          

>With sp conjure e, you still need to start with quotes. I
>notice that sp word works just find. Why is it that some
>multi-word spells seem to work without quotes, and others need
>it?

Multi-word spells without quotes are the equivalent of the first word. So "sp conjure animal" will work because it's really doing "sp conjure" which is for conjure animal. Any spell that requires the second word needs the quotes around it.

So long, and thanks for all the fish!

  

Top

Top General Discussions Santa Zulg The Circular File Topic #339 Previous topic | Next topic