some trade and inventory search options commands from /ooc

Discussion in 'General MQ2' started by YirranPEQ, Mar 4, 2020.

  1. YirranPEQ

    YirranPEQ Orc Pawn

    Messages:
    39
    [Wed Mar 04 17:37:25 2020] Greldor says out of character, 'is there a command to open a trade window with a bot?'
    [Wed Mar 04 17:38:45 2020] Bandy says out of character, '/click left target'
    [Wed Mar 04 17:39:19 2020] Tacoduh says out of character, 'make an alias for it...../alias /trade /click left target'
    [Wed Mar 04 17:39:42 2020] Bandy says out of character, 'i have /trade alias to confirm trade but its a good idea'
    [Wed Mar 04 17:39:51 2020] Bandy says out of character, '/left=/click left target'
    [Wed Mar 04 17:39:55 2020] Bandy says out of character, '/right=/click right target'
    [Wed Mar 04 17:40:17 2020] Bandy says out of character, '/trade=/if (${Window[tradewnd]}) /bcaa //notify tradewnd TRDW_Trade_Button leftmouseup'
    [Wed Mar 04 17:41:18 2020] Sandibell says out of character, 'do you need an item on your cursor for /click left target to work (open trade window)?'
    [Wed Mar 04 17:41:27 2020] Tacoduh says out of character, 'you do'
    [Wed Mar 04 17:41:46 2020] Sandibell says out of character, 'is there a command to pickup items from inventory based on the name?'
    [Wed Mar 04 17:47:42 2020] Tacoduh says out of character, 'it would involve iterating through your bags looking for the item, then clicking it, then entering an amount in case its a stack, etc'
    [Wed Mar 04 17:49:47 2020] Tacoduh says out of character, '/if (${soulstoneName.Equal[${Me.Inventory[pack${i}]}]}) {'
    [Wed Mar 04 17:50:03 2020] Tacoduh says out of character, '/itemnotify pack${i} leftmouseup'
    [Wed Mar 04 17:50:23 2020] Tacoduh says out of character, 'or if its in your bag instead of top level inventory:'
    [Wed Mar 04 17:50:27 2020] Tacoduh says out of character, '/if (${soulstoneName.Equal[${Me.Inventory[pack${i}].Item[${j}]}]}) {'
    [Wed Mar 04 17:50:41 2020] Tacoduh says out of character, '/itemnotify in pack${i} ${j} leftmouseup'
    [Wed Mar 04 17:50:58 2020] Tacoduh says out of character, 'if you need more code examples just hit me up'
    [Wed Mar 04 17:51:08 2020] Sandibell says out of character, 'ok I'll play with that thanks'