Argument list error

legion

New member
Messages
36
Points
0
Hi, I made this script but it doesn't work. I don't know what's wrong, please help.

prontera,146,168,4 script Mall Warper 4_M_KNIGHT_GOLD,{
mes "[Mall Warper]";
mes "Hi! I can warp you to the mall";
mes "where you can buy free items,";
mes "but remember that when testing is";
mes "done, we will remove this item mall";
mes "and all accounts will be wiped.";
mes "Proceed?";
switch(select(Yes:No)) {
case 1:
warp itemmall,179,40;
close;
end;
case2:
close;
end;
}}
 
Still doesn't work.
default_sad.png


fvh9no.jpg


 
Last edited by a moderator:
try this

Code:
prontera,146,168,4	script	Mall Warper	4_M_KNIGHT_GOLD,{	mes "[Mall Warper]";	mes "Hi! I can warp you to the mall";	mes "where you can buy free items,";	mes "but remember that when testing is";	mes "done, we will remove this item mall";	mes "and all accounts will be wiped.";	mes "Proceed?";	next;	switch(select("Yes:No")) {	case 1:		warp itemmall,179,40;		end;	case 2:		close;	}}
 
indeed lol, it was missing the quotes
default_tongue.png
I missed them too lol

 
Still doesn't work.
default_sad.png


fvh9no.jpg
Code:
prontera,146,168,4    script    Mall Warper    4_M_KNIGHT_GOLD,{    mes "[Mall Warper]",        "Hi! I can warp you to the mall",        "where you can buy free items,",        "but remember that when testing is",        "done, we will remove this item mall",        "and all accounts will be wiped.",        "Proceed?";    next;    if(select( "Yes","No" ) == 2 ) close;        warp itemmall,179,40;        end;}
 
Back
Top