Menu

useWarp()

skalaxcy

useWarp()
ฟังค์ชั่นสั่งให้บอทเปิดวาปไปในแมบที่กำหนด

procedure ที่อนุญาติให้ใช้ = ทุก procedure
รูปแบบ = void useWarp( int x , int y , string แมบที่จะไป );

ตัวอย่าง
นายไก่กาอาราเร่ กระซิบมาที่บอทสั่งให้เปิดวาป เนื่องจากมันทำงานในกลุ่มแชท จึงให้ทำงานใน procedure main_chat
หมายเหตุ โปรดตรวจสอบ memo แผนที่ของบอทให้ดีก่อนใช้งาน

sub main_chat {

if ( msgPM("ปาดเวิอปไปดาวอังคาร",1 , "นายไก่กาอาราเร่")) {       
    $x = getPeopleX( "นายไก่กาอาราเร่" );
    $y = getPeopley( "นายไก่กาอาราเร่" );
    $x = x - 1;
    if (   onItemInvKeep("Blue Gemstone") > 1 ) {
        useWarp( $x , $y , "payon");
    } else {
        sendCommand( "c บูลหมดคับนาย" );
    }
}

}


Related

Wiki: All command

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.