Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Chris_3413
Novice


Joined: 22 Mar 2004
Posts: 46
Location: Australia

PostPosted: Thu May 03, 2007 2:24 pm   

[1.32] MXP Send Issue
 
Is it just this part of MXP not working yet or am I doing something wrong..

I have a trigger to turn the Vote reminder in my prompt into a hyperlink to the voting URL..
Its never worked so far in Cmud and ive just been hoping its somthing that will be fixed eventually.. but now i'm starting to wonder.

The code behind the trigger goes like this..

#SUB {~<send "#URL http://www.ironrealms.com/irex/tmsvote.php?id=imperian">Vote~</send>>}

Ive tried changing a few things without luck so far.. but thats exactly how the code looked when it worked with Zmud

So what am I missing here?
_________________
What do you mean, Fatal Error!
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu May 03, 2007 3:53 pm   
 
In CMUD, <> aren't special characters and " is. Try this:

#SUB {<send ~"#URL http://www.ironrealms.com/irex/tmsvote.php?id=imperian~">Vote</send>>}

or this

#SUB {<send '#URL http://www.ironrealms.com/irex/tmsvote.php?id=imperian'>Vote</send>>}

I assume that the extra > at the end is deliberate.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Chris_3413
Novice


Joined: 22 Mar 2004
Posts: 46
Location: Australia

PostPosted: Fri May 04, 2007 3:04 am   
 
Thanks for the help..

The first option didnt work but the second method works fine.

Didnt realise that <>'s werent special chars in cmud.. learned somthing new today.. fancy that!

and yes, the second > is intentional so that it displays a > so it looks like the original pattern i'm substituting.
_________________
What do you mean, Fatal Error!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net