- script Sample -1,{
OnInit:
set .amount, 40; // amount of item to shower
set .item_id, 7227; // item id to shower
set .map$, "prontera"; // map to shower
end;
OnMinute00:
while ( .count < .amount ) {
do {
.@x = rand(1,500);
.@y = rand(1,500);
} while (!checkcell(.map$,.@x,.@y,cell_chkpass));
makeitem .item_id,1,.map$,.@x,.@y;
set .count, .count + 1;
}
set .count, 0;
end;
}
this is my first time making a ragnarok server.
this scipt is for item shower
i dont know where to add it..
please teach me step by step thank youuuu
OnInit:
set .amount, 40; // amount of item to shower
set .item_id, 7227; // item id to shower
set .map$, "prontera"; // map to shower
end;
OnMinute00:
while ( .count < .amount ) {
do {
.@x = rand(1,500);
.@y = rand(1,500);
} while (!checkcell(.map$,.@x,.@y,cell_chkpass));
makeitem .item_id,1,.map$,.@x,.@y;
set .count, .count + 1;
}
set .count, 0;
end;
}
this is my first time making a ragnarok server.
this scipt is for item shower
i dont know where to add it..
please teach me step by step thank youuuu
Last edited by a moderator: