(Twitch) Help - 26/07/17 04:07 AM
Anyone have a !addcom !delcom and !editcom script that works with $2 $nick etc?
on *:TEXT:!c*c*:#: { if ($1 == !customcommand || $1 == !cc) { set %temp $nick if ($2) { set %temp $2 } msg $chan /me $readini(C:\FilePath\CustomCommands.ini, Commands, %temp) } } on *:TEXT:!addcom*:#: { writeini C:\FilePath\CustomCommands.ini Commands $nick $2- } on *:TEXT:!delcom*:#: { if ($nick == Predatorfusion) { remini C:\FilePath\CustomCommands.ini Commands $2 } else { remini C:\FilePath\CustomCommands.ini Commands $nick } }