Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-17-2006, 11:45 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by godofwarares View Post
o_o

I didn't know you could do requesttext("folder","C"); o_O
You can't. requesttext() gets things from the server.
__________________
Skyld
Reply With Quote
  #2  
Old 12-18-2006, 12:10 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by Skyld View Post
You can't. requesttext() gets things from the server.
Aw

I should really study all this crap. I never used reqeustText() before I made my Client-RC
Reply With Quote
  #3  
Old 12-18-2006, 12:08 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Now another 2 questions:

1.) How do I get the contents of said file and put it in a GUI Text Ctrl?

2.) What is the command to delete folders?



I'm making this as functional as possible :o
Reply With Quote
  #4  
Old 12-18-2006, 12:15 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by godofwarares View Post
Now another 2 questions:

1.) How do I get the contents of said file and put it in a GUI Text Ctrl?

2.) What is the command to delete folders?



I'm making this as functional as possible :o
Got #2: requestfiledeletion(str);
Reply With Quote
  #5  
Old 12-18-2006, 12:22 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
I guess you will need to use var.loadlines("path"); for getting the contents of the file either before downloading it (and then triggeractioning it), or after downloading it to your computer and saving it in scriptfiles or so.

Also please use the button to edit your posts while it is available instead of double-posting.
__________________
Skyld
Reply With Quote
  #6  
Old 12-18-2006, 12:30 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Thanks

Btw sorry I'll stop double-posting.

--------------------------------------
Edit:

By the way, can anyone post an example
of how to load a file's contents and
display them in F2 window or in a GUI
ML Text Ctrl?

--------------------------------------

Last edited by godofwarares; 12-18-2006 at 01:58 AM..
Reply With Quote
  #7  
Old 12-28-2006, 03:55 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Eh cmon!

I need to know how to get a file's contents and display them

(I have to have it Client-Side however x.x)
Reply With Quote
  #8  
Old 12-28-2006, 09:38 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by godofwarares View Post
Eh cmon!

I need to know how to get a file's contents and display them

(I have to have it Client-Side however x.x)

this.var.loadlines(path/to/file/filename);
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #9  
Old 12-29-2006, 12:58 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by xXziroXx View Post
this.var.loadlines(path/to/file/filename);
I do hope thats Client-side.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.