Rigrunner Rang Posted April 6, 2014 Share Posted April 6, 2014 Hi all,I was hoping to make a script which pulls a url string from a notecard and adds it into the llloardurl function. Can't seem to figure it out, can anybody point me in the right direction?Thank you in advance Link to comment Share on other sites More sharing options...
Poltergeist Azarov Posted April 6, 2014 Share Posted April 6, 2014 Hi Rigrunner, You will need to check Dataserver in order to get a string from a notecard. Link to comment Share on other sites More sharing options...
Dora Gustafson Posted April 6, 2014 Share Posted April 6, 2014 avatar in llLoadURL( key avatar, string message, string url); must be a keyYou can typecast string type to key type like this: string s = "01234567-89ab-cdef-0123-456789abcdef";key avatar = (key)s; The url in llLoadURL( key avatar, string message, string url); must be a string :smileysurprised::smileyvery-happy: Link to comment Share on other sites More sharing options...
Qie Niangao Posted April 6, 2014 Share Posted April 6, 2014 and sooner or later that notecard is apt to contain text that needs escaping to make a valid URL. Link to comment Share on other sites More sharing options...
Rigrunner Rang Posted April 6, 2014 Author Share Posted April 6, 2014 Thanks very much for the replies! You've definitely set me in the right direction :matte-motes-big-grin: Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now