I'm using M2Bob on a private server.
I already wrote a python script for teleport to the dungeon NPC with Teleport ring and talk with him (click on it, select answers, etc.)
This code is for talk with the NPC and select answers and teleport into the dungeon:
Code:
import player, event, net vid = player.GetTargetVID(2) net.SendOnClickPacket(2) event.SelectAnswer(0,0) event.SelectAnswer(0,0)
Code:
import net net.SendItemUsePacket(2) event.SelectAnswer(0,2) event.SelectAnswer(0,9)
I want to wait 5 minutes between run this two commands. (The 5 minutes is for surely complete the dungeon...)
Can someone help me how to add that 5 min wait command between that two command? I already tried "time.sleep()" but it just freeze the client for the seconds in the ().
Thanks in advance for help!







