
I think I need some help with setting a macro. I'm trying to use the macro for detect magic in Diana P.'s 3.5 Char sheet, but I keep getting the message in the chat box "You attempted to use a roll command looking for the value of a selected token, but no tokens are selected." even though I've changed "{{name=@{selected|token_name} }}" to "{{name=@{character_name} }}". When I put in macros for Magic Missile, or Fire Ball they work fine, but this one just eludes me. Can someone please point me in the right direction? The macro I'm using is: &{template:DnD35StdRoll} {{spellflag=true}} {{name=@{selected|token_name} }} {{subtags=casts [Detect Magic]( <a href="http://www.dandwiki.com/wiki/SRD:Detect_Magic" rel="nofollow">http://www.dandwiki.com/wiki/SRD:Detect_Magic</a> ) }} {{School:=Div}} {{Level:= Brd 0, Clr 0, Drd 0, Sor/Wiz 0}} {{Comp:=V, S}} {{Cast Time:= 1 std action}} {{Range:= 60 ft }} {{Area:= Cone-shaped emanation }} {{Dur:= Concentration, up to [[@{selected|casterlevel}]] minute(s) (D)}} {{Save:= None }} {{SR:= No }} {{notes= 1st Round: Presence or absence of magical auras. 2nd Round: Number of different magical auras and the power of the most potent aura. 3rd Round: The strength and location of each aura. If the items or creatures bearing the auras are in line of sight, you can make Spellcraft skill checks to determine the school of magic involved in each. (Make one check per aura; DC 15 + spell level, or 15 + half caster level for a nonspell effect.) Each round, you can turn to detect magic in a new area. The spell can penetrate barriers, but 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt blocks it. See full description for more details. PHB p.219}}