Download Game! Currently 123 players and visitors. Last logged in:StudmuffinLolzoStylusShenleung

BatMUD Forums > General > Re: Warning: "set delim" could crush your commands

 
 
#1
16 Jul 2010 11:39
 
 
The script for the command "set delim" may crush your commands

for example:
1) you have delim set to ";"
2) you have command "LOAD"
open 1;get ring,ring 2,ring 3 from 1;close 1

shell> set delim ,
shell> set delim ;

The command SAVE will be changed this way:
after first shell command it will be:
open 1,get ring,ring 2,ring 3 from 1,close 1
after second shell command it will be:
open 1;get ring;ring 2;ring 3 from 1;close 1

there is no way to make commands work after such combination of shell
commands.

Only Arch Wiz could help.

 
Rating:
-4
Votes:
6
 
 
Stranger
297d, 9h, 43m, 33s old
Level:
90
 
 
#2
16 Jul 2010 11:55
 
 
Stranger wrote:
The script for the command "set delim" may crush your commands

for example:
1) you have delim set to ";"
2) you have command "LOAD"
open 1;get ring,ring 2,ring 3 from 1;close 1

shell> set delim ,
shell> set delim ;

The command SAVE will be changed this way:
after first shell command it will be:
open 1,get ring,ring 2,ring 3 from 1,close 1
after second shell command it will be:
open 1;get ring;ring 2;ring 3 from 1;close 1

there is no way to make commands work after such combination of shell
commands.

Only Arch Wiz could help.
I can recommend using delims with several characters. For example #; or ;; or
something. Makes your game a lot easier IMO.

 
Rating:
3
Votes:
3
 
 
Malar
W i z a r d
6y, 170d, 4h, 18m, 37s old
Level:
84 [Wizard]
 
 
#3
19 Jul 2010 15:05
 
 
Stranger wrote:
The script for the command "set delim" may crush your commands

for example:
1) you have delim set to ";"
2) you have command "LOAD"
open 1;get ring,ring 2,ring 3 from 1;close 1

shell> set delim ,
shell> set delim ;

The command SAVE will be changed this way:
after first shell command it will be:
open 1,get ring,ring 2,ring 3 from 1,close 1
after second shell command it will be:
open 1;get ring;ring 2;ring 3 from 1;close 1

there is no way to make commands work after such combination of shell
commands.

Only Arch Wiz could help.
Which does make sense, don't you think?

^o^

 
Rating:
1
Votes:
1
 
 
Favorit
A r c h w i z a r d
7y, 204d, 23h, 9m, 38s old
Level:
600 [Wizard]