forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


stuck on IFs again :)

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
michaelmcstay
Newbie


Joined: 16 Oct 2005
Posts: 6
Location: UT

PostPosted: Mon Oct 31, 2005 9:47 pm    Post subject: stuck on IFs again :) Reply with quote

Hi all i have been looking at some examples i need my script to
do something if the word test is found and if its not i need it to do nothing
i been trying but no luck any ideas on how to do this ?

this example will still fire the msgbox if the "test" is not there i would need it to just end
thank you
michael

Code:
 %%file =%A
  if @equal(%%file, "test")
      %R = @msgbox(Message,Title,$000)
 else
 end
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Oct 31, 2005 11:50 pm    Post subject: Reply with quote

Michael,
What version of VDS are you using? I don't have this problem with VDS 5.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Tue Nov 01, 2005 2:19 pm    Post subject: Re: stuck on IFs again :) Reply with quote

Just a stab in the dark here, but you've got an empty else statment there.

Have you tried:

Code:
 %%file =%A
 if @equal(%%file, "test")
   %R = @msgbox(Message,Title,$000)
 end

_________________
cheers

Dave
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help 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
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group