bordemstirs
Member
I'm not sure what I'm doing wrong.
If I do this in the CLI:
It works just fine. But for some reason, from my relay script, it just loads nothing. Tried with every combination of true/false.
Code:
void executeCommand(string cmd){
matcher m=create_matcher("whichchoice value=(\\d*)","");
print(cmd);
string url;
if(cmd.to_int()>0){
url="clan_dreadsylvania.php?action=forceloc&loc="+cmd.char_at(0);
string p=visit_url(url,true,true);
print("first result: "+url);
...
If I do this in the CLI:
Code:
ash string cmd="911"; string url="clan_dreadsylvania.php?action=forceloc&loc="+cmd.char_at(0); string p=visit_url(url,false,true);
It works just fine. But for some reason, from my relay script, it just loads nothing. Tried with every combination of true/false.