| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Setting script options via m()m (parms) https://mail.black-squirrel.com/viewtopic.php?f=15&t=25660 |
Page 1 of 1 |
| Author: | mob [ Sat Feb 13, 2010 9:03 pm ] |
| Post subject: | Setting script options via m()m (parms) |
Im working on a couple scripts and ive seen $parms set so options could be issued through subspace radio, and I would like to use this in a few of said scripts. Wanted to grasp the idea Im sure I could dig, but I'd like to make sure I understand the process. Anyone? |
|
| Author: | Parrothead [ Sat Feb 13, 2010 9:13 pm ] |
| Post subject: | Re: Setting script options via m()m (parms) |
$USER_COMMAND_LINE= m l 1 2 3 4 5 6 $PARM1=m $PARM2=l $PARM3=1 $PARM4=2 $PARM5=3 $PARM6=4 $PARM7=5 $PARM8=6 $parm represent options in a command line R NOOBLE bot saveme on $parm1=on The bot will write these to the config file with the ' SAVEVAR ' command You can then retreive them with YOUR script with the ' LOADVAR ' command saavy? |
|
| Author: | mob [ Sat Feb 13, 2010 9:16 pm ] |
| Post subject: | Re: Setting script options via m()m (parms) |
Aye, thank you... |
|
| Author: | Helix [ Sat Feb 13, 2010 9:36 pm ] |
| Post subject: | Re: Setting script options via m()m (parms) |
Thats brilliant Going to put that on the info site. Helix |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|