| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Lets get the gears turning!! https://mail.black-squirrel.com/viewtopic.php?f=15&t=25319 |
Page 1 of 1 |
| Author: | mob [ Wed Dec 23, 2009 8:14 am ] |
| Post subject: | Lets get the gears turning!! |
Code: setArray $adjsec SECTOR.WARPCOUNT[currentsector] setVar $i 1 setVar $word "" :trig send "d" settextlinetrigger line1 :getadj "Warps to Sector(s) :" settextlinetrigger linedone :done "Command [TL=" pause :getadj setVar $adjline currentline striptext $adjline "Warps to Sector(s) :" striptext $adjline "-" striptext $adjline "(" striptext $adjline ")" :done killalltriggers while ($i <= SECTOR.WARPCOUNT[currentsector]) getword $adjline $word $i setVar $adjsec[$i] $word add $i 1 end with all this cold weather you'd think more people then myself would have time on their hands. Anyone care to look over this?? |
|
| Author: | Singularity [ Wed Dec 23, 2009 9:07 am ] |
| Post subject: | Re: Lets get the gears turning!! |
You don't have to do any of that. If you hit D, twxproxy will automatically parse all the data that comes in and shove it in the DB. All you need to do is pull it from the DB. |
|
| Author: | Crosby [ Wed Dec 23, 2009 9:23 am ] |
| Post subject: | Re: Lets get the gears turning!! |
SECTOR.WARPS[sector][index] so: Code: send "D" setvar $i 1 while $i <= sector.warpcount[currentsector] echo sector.warps[currentsector][$i] & "*" add $i 1 end sorry I didn't get back to ya last nite mobs... |
|
| Author: | mob [ Wed Dec 23, 2009 11:45 am ] |
| Post subject: | Re: Lets get the gears turning!! |
LOL..I just wanted to point out how obviously I like to take the hard route!! DUH! Naw, I have never really use DB functions before so some of this is new to me. Thanks guys for the tips. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|