Have a really cool idea. Need help with it though. - 20/03/16 01:33 PM
So basically what I am trying to do is give people the ability to add custom lurker messages. This idea started out when I was creating this offline script that would allow people to set a message and then it would be echoed back on that specific channel. However, I have sorta hit a bump in the road. Here is what I have so far. Any help with this would be much appreciated.
Thanks,
Netct25
Thanks,
Netct25
Code:
on *:text:!offline on:#: { set %offline. [ $+ [ $chan ] ] 1 msg $chan Offline feature is enabled. Be sure to specify a message for the offline feature. } on *:text:!offline off:#: { unset %offlinemsg. $+ $2 set %offline. [ $+ [ $chan ] ] 0 msg $chan Offline feature has been disabled. } on *:text:!setoffline *:#: { set %offlinemsg. $+ $2 msg $chan Offline message was set to $2 } on *:join:#: { if ( %offline. [ $+ [ $chan ] ] == 1 ) { msg $chan %offlinemsg } }