[Request] Magic the Gathering autocard mycode
#1
Okay I have started a Magic: the Gathering forum and I need help with a particular MyCode.

Since Magic: the Gathering has thousands of cards, we need to be able to link to them so people know what they do.

Just for example, typing in:

[card]Lightning Bolt[/card]

should link to:

Lightning Bolt

As you can see, the website that I want to link to is:
http://magiccards.info/autocard.php?card=

The card that they type in (the name within the [card][/card] tags] goes right after the = sign in the link above.

I was able to do it with Invision Power Board but that's because it doesn't involve regular expressions or anything. Can anyone help me?

Thanks.
Reply
#2
Try this:

Title: Magic Cards
Description: Embed links from magiccards.info
Regular Expression:
\[card\](.*?)\[/card\]
Replacement:
<a href="http://magiccards.info/autocard.php?card=$1">$1</a>
Enabled: yes

How to write:
[card]Lightning Bolt[/card]

---
Enjoy
Reply
#3
Thanks! It works Smile
Reply
#4
No problem. Smile
I love helping across the community Wink

If you like, Joined my site for 100 + Exclusive MyCodes.
Reply
#5
Anything like this for Battle Sprites?
If you Live to Game, and Game to Live
Reply
#6
I made one for WoW. I know nothing about battle sprites though xD hit me up with a PM if you want something made.
Reply
#7
(2010-09-23, 08:42 PM)wethegreenpeople Wrote: I made one for WoW. I know nothing about battle sprites though xD hit me up with a PM if you want something made.

Id like to see that WoW one, did you have it posted somewhere
If you Live to Game, and Game to Live
Reply
#8
http://community.mybb.com/thread-72370.h...reenpeople

Last post.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)