Get the name or guid for a channel

Verified
Added by iNTERFACEWARE

Get the name or guid for the current channel by using iguana.channelName() or iguana.channelGuid()

Source Code
   -- get the guid of the current channel
   local guid = iguana.channelGuid()   
   
   -- get the name of the current channel
   local name = iguana.channelName()
Description
Get the name or guid for the current channel by using iguana.channelName() or iguana.channelGuid()
Usage Details

Use iguana.channelName() to get the name for the current channel, or iguana.channelGuid() to get the guid. This can be useful for error notifications (by email for example), or sending information to external logs or files etc.

How to use the snippet:

  • Paste the name or guid code into your script