Signup Now
Results 1 to 1 of 1
  1. #1
    Free User
    Join Date
    Dec 2016
    Posts
    1
    Reputation
    10
    Rep Power
    0

    Can someone 'translate' pseudocode into Wind's script?

    Hi, I'd want to to write my own script for Windbot but I'm not good enough (yet)

    I think I can write it in other language/pseudocode, so it's below

    tl;dr

    Throws X amount of Y item on A,B,C map position(param,param,para)

    Checks if there's item with id K on map position(param,param,para)

    Code:
     map_position_1 = "32815, 31278, 5";
     map_position_2 = "32815, 31278, 5";
    
    while (true)
    
    {
      NpcSay("hi");
      moveitem ( item_id, amount_of_(item_id), map_position_2 )
    
      if ( itemID on map_position_1 == 1234 )
      {
    	do something...
      }
    }
    Last edited by Millao; 12-26-2016 at 06:59 PM.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •