Anonymous | Login | Signup for a new account | 06-06-25 22:56 CEST | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0001458 | SphereServer | executable - generic | public | 19-07-08 01:13 | 20-07-08 03:45 | |
Reporter | Coruja | |||||
Assigned To | MrSugarCube | |||||
Priority | normal | Severity | major | Reproducibility | always | |
Status | resolved | Resolution | fixed | |||
Platform | OS | OS Version | ||||
Product Version | ||||||
Target Version | Fixed in Version | 20-09-2009, 0.56b Prerelease | ||||
Summary | 0001458: Problem with ARGS | |||||
Description | If ARGS is defined twice, only on first time it can be parsed correctly. Example: [FUNCTION lol] ARGS=test,1,2,3 SAY [<ARGV0>,<ARGV1>,<ARGV2>,<ARGV3>] //this will return: [test,1,2,3] (no problem here) ARGS=lol,1,2,3 SAY [<ARGV0>,<ARGV1>,<ARGV2>,<ARGV3>] //this will return: [lol,1,2,3,,,] (the <ARGV0> works like <ARGS> returning all the sentence, and others <ARGVx> become empty without arguments) | |||||
Tags | No tags attached. | |||||
Nightly Version | 08-02-2008 | |||||
Experimental Flags | None | |||||
Option Flags | None | |||||
Internal Build Number | ||||||
Attached Files | ||||||
![]() |
|
(0000013) Admin BladeCraft (reporter) 19-07-08 19:36 |
Im not sure what the problem is because that returns what you set it to be just like the first one. In any case, try using <argv[#]> in your problem and see if it fixes. I never even knew it worked without [ ] |
(0000014) Coruja (developer) 20-07-08 00:28 |
Using <ARGV[x]> I got the same problem :( I'm using this: [DIALGO lol] //1st round... FOR x ARGS .= ,uid1,uid2,uid3,... ENDFOR FOR <ARGN> dtext lalala <UID.<ARGV[<local._for>]>.NAME> //no problem found ENDIF //now the 2nd round... FOR x ARGS .= ,uid1,uid2,uid3,... ENDFOR FOR <ARGN> dtext lalala <UID.<ARGV[<local._for>]>.NAME> //wtf, <ARGV0> return all the sentence like <ARGS> and all others <ARGVx> is empty.. ENDIF And, this console error: 19:23:ERROR:(sys_lol.scp,392)Can't resolve <UID.04012677f,040126221.NAME> |
(0000016) Fire-Dragon-DoL (reporter) 20-07-08 03:27 |
that0s not a big problem i'm always using args and <strarg> <streat> and <explode> they works great, very useful.. |
![]() |
|||
Date Modified | Username | Field | Change |
19-07-08 01:13 | Coruja | New Issue | |
19-07-08 01:13 | Coruja | Nightly Version | => 08-02-2008 |
19-07-08 01:13 | Coruja | Experimental Flags | => None |
19-07-08 01:13 | Coruja | Option Flags | => None |
19-07-08 19:36 | Admin BladeCraft | Note Added: 0000013 | |
20-07-08 00:28 | Coruja | Note Added: 0000014 | |
20-07-08 03:27 | Fire-Dragon-DoL | Note Added: 0000016 | |
20-07-08 03:45 | MrSugarCube | Status | new => resolved |
20-07-08 03:45 | MrSugarCube | Fixed in Version | => 0.56c Nightly |
20-07-08 03:45 | MrSugarCube | Resolution | open => fixed |
20-07-08 03:45 | MrSugarCube | Assigned To | => MrSugarCube |
Copyright © 2000 - 2010 MantisBT Group |