SHARE
TWEET

Untitled

a guest Sep 13th, 2017 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import clr
  2. clr.AddReference("COFarmerPluginLibrary")
  3. from COFarmerPluginLibrary import *
  4. from System import *
  5.  
  6. def welcome():
  7.     Client.Chat("Test1", ChatMode.Broadcast, PacketSource.ToClient)
  8.     BCOHelper.Sleep(700)
  9.     start()
  10. def start():   
  11.     if (Client.DynamicMapID == 1010) :
  12.             Client.ClickNpc(5672)
  13.             BCOHelper.Sleep(700)
  14.             Client.AnswerNpc(0)
  15.             BCOHelper.Sleep(700)
  16.             Client.AnswerNpc(0)
  17.             BCOHelper.Sleep(700)
  18.             Client.AnswerNpc(0)
  19.             BCOHelper.Sleep(700)
  20.             Client.AnswerNpc(0)
  21.             BCOHelper.Sleep(700)
  22.             Client.AnswerNpc(0)
  23.             BCOHelper.Sleep(700)
  24.             Client.AnswerNpc(0)
  25.             BCOHelper.Sleep(3000)
  26.             Client.ParseCommand("quest15")
  27.             BCOHelper.Sleep(7000)
  28.     else :
  29.             Client.ParseCommand("quest15")
  30.             BCOHelper.Sleep(7000)
  31.  
  32. def welcome2():
  33.     BCOHelper.Sleep(70000)
  34.     if (Client.Level == 15) :
  35.         Client.Chat("Test2", ChatMode.GM, PacketSource.ToClient)
  36.         BCOHelper.LinearTravel(Client, 1002, 478, 382)
  37.     else:
  38.         BCOHelper.Sleep(7000)
  39.  
  40. welcome()
  41. welcome2()
  42.  
  43.  
  44.  
  45. # after the if : you tab it and when the if is done you untab it and say else : and then tab the next line again =]
RAW Paste Data
Top