Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Chironex on September 20, 2007, 11:05:21 PM
-
I try to do an advert that show an internet adress:
ulx addCsayAdvert "Join the Silent's Server Steam group now!\nhttp://steamcommunity.com/groups/silents_server" 255 0 0 180 10 a
But the // is parsed as a comment, so the ad is not showing at all. Any idea?
I have one, you should do something like that in the ulx.cc_addCsayAdvert or in the ulx.cc_addAdvert :
message = message:gsub( "<http>", "http://" )
So we can doulx addCsayAdvert "Join the Silent's Server Steam group now!\n<http>steamcommunity.com/groups/silents_server" 255 0 0 10 5 a
And it works ;)
If you have another solution to display // please tell me :p
-
Try using escape slash \.
Basically, make http:// = http:\/\/
I think that's it.
You could also leave off http://. It's what we do when advertising our forums on our dev server.
-
I've obviously tried the escape character but it display it too (i should have say that)
About removing http://..yeah, not a bad idea lol :)