View unanswered posts | View active topics It is currently Fri Mar 29, 2024 5:29 am



Reply to topic  [ 4 posts ] 
 using Load 
Author Message
Warrant Officer
User avatar

Joined: Thu May 09, 2013 2:21 pm
Posts: 73
Unread post using Load
I am trying to put something together that will switch between mombot and zbot. I prefer zbot but often have corpies that prefer mom. I have everything working except when it tries to load mombot i get the this is not a compiled twx script error. I can run mom from the $SS menu using the same file name I am telling the script to use.

:bot1On
setVar $scrDir "scripts\"
mergeText $scrDir $bot2 $bot2Dir
stop $bot1
load $bot2Dir
halt

$bot2 value is MOM_BOT3_1044.CTS.
$bot1 value is Z-BOT.CTS

mom is in my script directory. I added the script directory variable to try to solve this problem. i echoed the variables to make sure they are correct and they are. It actually tries to run mom.

Thanks

_________________
-Zoom

Zoom's Team Speak3 Server @ ts3server://vs26.tserverhq.com:7214
TradeWars2002: The Basics @ http://playtwars.altervista.org


Wed Jan 28, 2015 7:27 pm
Profile
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2559
Location: Oklahoma City, OK 73170 US
Unread post Re: using Load
I know Archie was working on a switchbot command for z-bot and mombot. It is a bottable command for both bots, so your teammates can switch to the bot they need. I have not used it though, so I'm not sure how it works.

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002

ICQ is Dead Jim! Join us on Discord:
https://discord.gg/zvEbArscMN


Wed Jan 28, 2015 8:14 pm
Profile ICQ YIM WWW
Warrant Officer
User avatar

Joined: Thu May 09, 2013 2:21 pm
Posts: 73
Unread post Re: using Load
Yeah. There is a command for it. I couldn't get it to work properly so thought I would try to come up with my own. Everything works except the mom script doesnt want to load via the load $momFilename.

_________________
-Zoom

Zoom's Team Speak3 Server @ ts3server://vs26.tserverhq.com:7214
TradeWars2002: The Basics @ http://playtwars.altervista.org


Thu Jan 29, 2015 10:53 pm
Profile
Warrant Officer
User avatar

Joined: Thu May 09, 2013 2:21 pm
Posts: 73
Unread post Re: using Load
I found the problem. Apparently I can't tell the difference between a O and a zero. I had a zero instead of a O in the filename in the config file.

Thanks

_________________
-Zoom

Zoom's Team Speak3 Server @ ts3server://vs26.tserverhq.com:7214
TradeWars2002: The Basics @ http://playtwars.altervista.org


Thu Jan 29, 2015 11:03 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.