| www.ClassicTW.com http://classictw.com/ |
|
| using Load http://classictw.com/viewtopic.php?f=15&t=34532 |
Page 1 of 1 |
| Author: | Assaulter [ Wed Jan 28, 2015 7:27 pm ] |
| Post subject: | 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 |
|
| Author: | Micro [ Wed Jan 28, 2015 8:14 pm ] |
| Post subject: | 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. |
|
| Author: | Assaulter [ Thu Jan 29, 2015 10:53 pm ] |
| Post subject: | 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. |
|
| Author: | Assaulter [ Thu Jan 29, 2015 11:03 pm ] |
| Post subject: | 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 |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|