def deleteCharacter(button): callbackArgs = { "index": button.store["index"], "password": button.store["password"], "gump": button.gump, } args = { "callbackYes": deleteCharacter2, "callbackNo": cancelDelete, "callbackArgs": callbackArgs, "question": "Do you really want to delete this character?", } client.openGump("yesnobox", args) return False
def createShard(button): client.openGump("createshard") # don't close the gump, shard creation can be cancelled return False