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
haiku
Wanderer


Joined: 19 Nov 2004
Posts: 70

PostPosted: Fri Sep 21, 2007 11:33 pm   

html elements and question about variables
 
i discovered last night that cmud renders some html. I was wondering if any security testing was done on it to verify that it's safe. Also, does this mean I can have a trigger set up to only work on certain fonts(!!)? Is there a list of all html tags that cmud allows?


Now for the variable question. It appears to me that variables are being reset when I log on.
I've got a variable named CurrentSpell, and the value is

cure critical

I've tried this with both string literal and string expanded. when I reconnect, the value of the variable is consistantly changed to

critical

I've been working around this by adding a trigger for when I log on to set the value; i.e. an alias with the command
Code:
#VAR CurrentSpell {cure critical}
works.
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Fri Sep 21, 2007 11:52 pm   
 
Technically, it's not HTML - it's MXP. The full spec is on the website.

About the variable; does it, or has it ever had the Use Default option set? Does changing it help?
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
haiku
Wanderer


Joined: 19 Nov 2004
Posts: 70

PostPosted: Sat Sep 22, 2007 4:09 am   
 
doh.

Thanks for the pointer to MXP.
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