2009-09-03, 11:05 PM
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:
should link to:
Lightning Bolt
As you can see, the website that I want to link to is:
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.
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.