I'm trying to call the dailyreward command from the script with an item. If I call the dailyreward command with the item via the atcommand, I get the message that the command does not exist, but if I enter it with @dailyreward, it works.
I've tried calling the script with callfunc but this didn't work either. my goal is that the player can call up the script with an item and he doesn't have to enter a command in the chat.
I hope someone can help me here I've been looking for a solution the last days.
Hello,
I'm trying to call the dailyreward command from the script with an item. If I call the dailyreward command with the item via the atcommand, I get the message that the command does not exist, but if I enter it with @dailyreward, it works.
I've tried calling the script with callfunc but this didn't work either. my goal is that the player can call up the script with an item and he doesn't have to enter a command in the chat.
I hope someone can help me here I've been looking for a solution the last days.
Link to comment
Share on other sites