Guest User

Untitled

a guest
Jun 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.46 KB | None | 0 0
  1. def OnItem(_ItemName, _ItemType): #When the char will pick up an item or buy an item this def will trigger
  2.     if _ItemName == "DragonBall" && _ItemType == 710834:
  3.         Tools.Log (Player.CName = "found a DragonBall in a Squama")
  4.         Tools.MapTravel("1036", 175, 180)
  5.         Tools.Sleep(500 + (Char.Ping*2))
  6.         ToServer.ClickNpc(2071)
  7.         ToServer.NpcOption(0)
  8.         ToServer.NpcOption(0)
  9.         Tools.Log (Player.CName = "exchanged the DragonBall for CP's")
  10.  
  11. while True:
  12.     Tools.Sleep(1000)
Add Comment
Please, Sign In to add comment