Hi again. I have written a script to add members to my channel with a public trigger !addmember <nick> it works fine on normal nicks but some peoples nicks contain Square Braces ie [nutz] and the bot will not add flags to these users. it works on 1.6.16 windrop but refuses to work on 1.6.15 eggdrop. any ideas.
set newmember [lindex $arg 0]
set flags "X|Xao"
chattr $newmember +$flags $chan
setuser $newmember hosts $newhost
putserv "NOTICE $newmember :You have been added to the bot. Welcome to our channel"
save
return 1
Thanks in advance
^DooM^
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
ok the fix Sir_Fz gave me worked great but now i have another Odd problem. its only adding 9 characters of a nick instead of the 14 it is even though i have set the nicklength in NET Type 5 to 32 characters. do i have to do anything specific to add users to the userlist with more than 9 characters in their nick?
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
erk sorry i forgot all about searching the forums for previous n00b questions. Sorry for being a dumbass
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born