Hello! Everyone. Thank You for Visiting Our Forum. Feel Free to Post Your Message. Admins/Moderators would like to Answer your Needs & Questions. Thank You & Have A Nice Day.

    Mailing BoP

    Share

    Janice
    Moderator
    Moderator

    Posts : 158
    Join date : 2010-01-07
    Age : 25
    Location : Canada

    Mailing BoP

    Post by Janice on 1/10/2010, 6:15 pm

    this was requested by sarah, she wants the bot to mail her the BoPs it collected.
    here is the code:

    Code:
    automacro bop {
       inventory "box of panting" > 100
       location <map>
       run-once 0
       exclusive 1
       priority 0
       call mail
    }

    macro mail {
       $item = box of panting
       $bop = @inventory ($item)
       do ma add item 100 $bop
       do ms <name> BoP "sent 100 BoP"
       do c @warp <map>
    }
    things to change:
    <map> = which map the bot is using to get BoP
    <name> = the recipient of the mail, meaning the name of the character where the mail be send.

    *i assume you know what to do with the code, u know, open a new notepad at the control folder of your bot then paste the codes then save then open the config file of the bot then change the macro_file to what you name the new notepad you open.

    **i didn't test this one out yet but it should work just fine cause it has the same structure of the mailing pcoins my bot are using.


    _________________


    Outerlimitro
    Admin
    Admin

    Posts : 2507
    Join date : 2009-06-07
    Age : 26
    Location : California

    Re: Mailing BoP

    Post by Outerlimitro on 1/10/2010, 11:42 pm

    that's cool.


    _________________

    ~OuterLimitRO 100k/100k/25% (Free to Play Server. No Donation.) Join Now!

    OuterLimitRO Season 3
    www.outerlimitro.org
    [Admin] killed Master! [Kenzkie] A million times. Roger That!

    Janice
    Moderator
    Moderator

    Posts : 158
    Join date : 2010-01-07
    Age : 25
    Location : Canada

    Re: Mailing BoP

    Post by Janice on 1/10/2010, 11:53 pm

    thanks.


    _________________


    Outerlimitro
    Admin
    Admin

    Posts : 2507
    Join date : 2009-06-07
    Age : 26
    Location : California

    Re: Mailing BoP

    Post by Outerlimitro on 1/10/2010, 11:54 pm

    your welcome...


    _________________

    ~OuterLimitRO 100k/100k/25% (Free to Play Server. No Donation.) Join Now!

    OuterLimitRO Season 3
    www.outerlimitro.org
    [Admin] killed Master! [Kenzkie] A million times. Roger That!

    Sponsored content

    Re: Mailing BoP

    Post by Sponsored content Today at 8:21 am

      Similar topics

      -

      Current date/time is 12/8/2016, 8:21 am