사이트 로그인
2022.06.19 11:27
매우 간단합니다.
else if( @list == 18)//리스트 번호
{
set @pos, input2(@username$, 0, 9, "아이디를 입력하시오.","아이디는","입니다.");
if( @pos == 0 ) end;
set @pos, input2(@jog22, 0, 20, "해당 아이디의 승급을 몇번째로 변경 하겠습니까 \n 해당승급 차수 숫자로 기재해주세요.","변경","했습니다..");
if( @pos == 0 ) end;
set @target, name2id(@username$);
if(istype(@target) != 1)
{
dialog 1, 0, 0, @name$+" 님은 현재 접속중이지 않습니다. ";
end;
}
set @target_sd, id2sd(@target);
dialog 0,0,0,"해당 아이디의 승급을 변경했습니다.";
set_joblevel @target_sd, atoi(@jog22); //승급 번호를 jog22 변수 로 변경
updatestatus @sd, ST_DATA; // 정보업데이트
}