Log in
▼
Keep me signed in
Sign up
HOME
DOWNLOAD
PURCHASE
SUPPORT
PORTAL
FORUM
CONTACT US
News & Information
Suggestions & Feedback
General Discussions
FlashFXP Forums
>
Community Chatter
>
Programming
Stop subsequent scripts from running
Tickets
Search
Today's Posts
Mark Forums Read
Programming
Need help with C/C++/Delphi? Ask here and make us all laugh.
Thread Tools
Rate Thread
Display Modes
02-13-2004, 09:33 AM
#
1
laShan
Member
ioFTPD Foundation User
Join Date: Feb 2004
Posts: 46
Stop subsequent scripts from running
If I have several scripts assigned to, let's say, wipe, how can I make the first one halt the chain of events? I tried different return configurations without any apparent luck.
laShan
View Public Profile
Find More Posts by laShan
02-13-2004, 09:36 AM
#
2
Harm
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,430
If the first one returns non-zero, the others aren't called.
Harm
View Public Profile
Find More Posts by Harm
02-13-2004, 09:43 AM
#
3
laShan
Member
ioFTPD Foundation User
Join Date: Feb 2004
Posts: 46
That's just the thing, they are. Either I'm doing something really weird, or there's some sort of issue. Shouldn't the following stop the process?
iputs "Command aborted!"
return 1
laShan
View Public Profile
Find More Posts by laShan
02-13-2004, 09:56 AM
#
4
Harm
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,430
If you're using itcl, you could try that:
Code:
iputs "Error message" global ioerror; set ioerror 1; return 1
Harm
View Public Profile
Find More Posts by Harm
02-13-2004, 09:59 AM
#
5
laShan
Member
ioFTPD Foundation User
Join Date: Feb 2004
Posts: 46
Thanks! That did the trick
laShan
View Public Profile
Find More Posts by laShan
Tags
chain
,
events
,
halt
,
return
,
scripts
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Rate This Thread
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Rate This Thread
:
5 : Excellent
4 : Good
3 : Average
2 : Bad
1 : Terrible
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
FlashFXP
News
Frequently Asked Questions (FAQ)
General Discussion
Custom Commands
Language Translations
FlashFXP v5.x Public Beta
Website
ioFTPD
ioFTPD
ioFTPD beta
ioFTPD General
Knowledge Base
International Help
Bug Reports
Suggestions
Scripting
! New Scripts Announces & Updates
! Requests
! Other Scripts Support
ADDiCT's scripts
bounty's scripts
bounty's dZSbot
Caladan's scripts
Eggdrop
Harm's scripts
NeoXed's scripts
SnypeTEST's scripts
StarDog's scripts
St0rm's scripts
tuff's scripts
Web interface
WarC's scripts
Donationware
Software
Community Chatter
A little bit of everything
Programming
Lounge
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problems with http
ratnic
Bug Reports
4
01-20-2003
10:07 PM
All times are GMT -5. The time now is
12:05 PM
.
-- FlashFXP Default
---- FlashFXP Dynamic Width
-- Mobile
Archive
-
Privacy Statement
-
Top
Parts of this site powered by
vBulletin Mods & Addons
from DragonByte Technologies Ltd. (
Details
)
Copyright © 1999-2016 OpenSight Software, LLC. All Rights Reserved.
Powered by vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Promote FlashFXP on your website and get paid for it!