Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - and_y87

Pages: [1]
1
Help/Support / dont work exec. if use not me.
« on: September 28, 2017, 08:53:05 PM »
i create commands for Auction. All working if use me or my bot.
If a command causes the spectator that does not go to command !newBind
where Problem?

!bind
@if@[<||@points@||@target@[1]||@user@ You dont have Points. Balance: @points@ ||@if@[>||@calc@[+|@readfile@[auction/bind.txt]|50]||@target@[1]||@user@ Min cost: @calc@[+|@readfile@[auction/bind.txt]|50]||@exec@[0,!newBind @target@]]]
Code: [Select]
[{
  "command": "!ставка",
  "group": "Auction",
  "status": true,
  "runAsBot": false,
  "runAsUserElevated": false,
  "startsWithEx": false,
  "message": "@if@[<||@points@||@target@[1]||@user@ У вас всего не достаточно TL. ваш баланс: @points@ ||@if@[>||@calc@[+|@readfile@[auction/bind.txt]|50]||@target@[1]||@user@ Минимальная ставка: @calc@[+|@readfile@[auction/bind.txt]|50]||@exec@[1,!newBind @target@]]]",
  "description": "",
  "lastUsed": "2017-09-28T14:32:09.7173039+03:00",
  "cooldown": 0,
  "accessLevel": 1,
  "soundFile": "",
  "costEnabled": false,
  "minPoints": 0,
  "minHours": 0,
  "costAll": 0,
  "costVIPViewer": 0,
  "costVIPB": 0,
  "costVIPS": 0,
  "costVIPG": 0,
  "costVIPMod": 0,
  "costVIPStreamer": 0,
  "OnScreenWidgetEnabled": false,
  "OnScreenWidgetName": "",
  "OnScreenWidgetTitle": "",
  "OnScreenWidgetMessage": "",
  "OnScreenWidgetImageLink": "",
  "OnScreenWidgetAnimMode": 0,
  "OBSRemoteEnabled": false,
  "OBSRemoteAction": 0,
  "OBSRemoteSceneName": "",
  "CommandChaningCmdName": "",
  "CommandChaningRunAfter": 0,
  "CommandChaningRunAsAdmin": false,
  "VIPModEnabled": false,
  "VIPModIfViewer": 0,
  "VIPModIfVIPB": 0,
  "VIPModIfVIPS": 0,
  "VIPModIfVIPG": 0,
  "VIPModAddDays": 30,
  "countdown": "2017-09-23T15:56:46.0048948+03:00",
  "counter": 18,
  "APITarget": false,
  "hideFromCmdList": false,
  "accessDeniedMsg": "",
  "noPointsMsg": "",
  "disableChanAccess": false,
  "disableWhisperAccess": false,
  "disableDiscordAccess": false,
  "isSoundVolumeSet": true,
  "soundVolume": 100
}]


!newBind
@editpoints@[@readfile@[auction/favorit.txt]|@readfile@[auction/bind.txt]]  @savefile@[auction/bind.txt,@target@[1]] @savefile@[auction/favorit.txt,@user@] @editpoints@[@user@|-@target@[1]]
after this command autoexec command !isWinner
Code: [Select]
[{
  "command": "!newBind",
  "group": "Auction",
  "status": true,
  "runAsBot": false,
  "runAsUserElevated": true,
  "startsWithEx": false,
  "message": "@editpoints@[@readfile@[auction/favorit.txt]|@readfile@[auction/bind.txt]]  @savefile@[auction/bind.txt,@target@[1]] @savefile@[auction/favorit.txt,@user@] @editpoints@[@user@|-@target@[1]] =newBind",
  "description": "",
  "lastUsed": "2017-09-28T14:32:10.7175622+03:00",
  "cooldown": 1,
  "accessLevel": 9,
  "soundFile": "",
  "costEnabled": false,
  "minPoints": 0,
  "minHours": 0,
  "costAll": 0,
  "costVIPViewer": 0,
  "costVIPB": 0,
  "costVIPS": 0,
  "costVIPG": 0,
  "costVIPMod": 0,
  "costVIPStreamer": 0,
  "OnScreenWidgetEnabled": false,
  "OnScreenWidgetName": "",
  "OnScreenWidgetTitle": "",
  "OnScreenWidgetMessage": "",
  "OnScreenWidgetImageLink": "",
  "OnScreenWidgetAnimMode": 0,
  "OBSRemoteEnabled": false,
  "OBSRemoteAction": 0,
  "OBSRemoteSceneName": "",
  "CommandChaningCmdName": "!isWinner",
  "CommandChaningRunAfter": 0,
  "CommandChaningRunAsAdmin": false,
  "VIPModEnabled": false,
  "VIPModIfViewer": 0,
  "VIPModIfVIPB": 0,
  "VIPModIfVIPS": 0,
  "VIPModIfVIPG": 0,
  "VIPModAddDays": 30,
  "countdown": "2017-09-23T15:57:13.1014477+03:00",
  "counter": 42,
  "APITarget": false,
  "hideFromCmdList": true,
  "accessDeniedMsg": "",
  "noPointsMsg": "",
  "disableChanAccess": false,
  "disableWhisperAccess": false,
  "disableDiscordAccess": false,
  "isSoundVolumeSet": true,
  "soundVolume": 100
}]

!isWinner
@if@[>||@counter@||@rand@[125|200]||@exec@[1,!saveWinner @useer@  @readfile@[auction/bind.txt] @readfile@[auction/item.txt]]||]
Code: [Select]
[{
  "command": "!isWinner",
  "group": "Auction",
  "status": true,
  "runAsBot": false,
  "runAsUserElevated": true,
  "startsWithEx": false,
  "message": "@if@[>||@counter@||@rand@[125|200]||@exec@[1,!saveWinner @useer@  @readfile@[auction/bind.txt] @readfile@[auction/item.txt]]||] =isWinner",
  "description": "",
  "lastUsed": "2017-09-28T14:32:10.7205701+03:00",
  "cooldown": 0,
  "accessLevel": 9,
  "soundFile": "",
  "costEnabled": false,
  "minPoints": 0,
  "minHours": 0,
  "costAll": 0,
  "costVIPViewer": 0,
  "costVIPB": 0,
  "costVIPS": 0,
  "costVIPG": 0,
  "costVIPMod": 0,
  "costVIPStreamer": 0,
  "OnScreenWidgetEnabled": false,
  "OnScreenWidgetName": "",
  "OnScreenWidgetTitle": "",
  "OnScreenWidgetMessage": "",
  "OnScreenWidgetImageLink": "",
  "OnScreenWidgetAnimMode": 0,
  "OBSRemoteEnabled": false,
  "OBSRemoteAction": 0,
  "OBSRemoteSceneName": "",
  "CommandChaningCmdName": "!аукцион",
  "CommandChaningRunAfter": 0,
  "CommandChaningRunAsAdmin": false,
  "VIPModEnabled": false,
  "VIPModIfViewer": 0,
  "VIPModIfVIPB": 0,
  "VIPModIfVIPS": 0,
  "VIPModIfVIPG": 0,
  "VIPModAddDays": 30,
  "countdown": "2017-09-24T12:45:36.7448771+03:00",
  "counter": 5,
  "APITarget": false,
  "hideFromCmdList": true,
  "accessDeniedMsg": "",
  "noPointsMsg": "",
  "disableChanAccess": false,
  "disableWhisperAccess": false,
  "disableDiscordAccess": false,
  "isSoundVolumeSet": true,
  "soundVolume": 100
}]

Pages: [1]