I found this simple quote script but I want someone to modify it
The bot will tell jokes about blondes when someone types !blonde in the chan. The problem is that some jokes are 300-400+ letters and they are not displaying all.
I want if the joke is more then 200 symbols to wrap it. For example if the joke is:
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
odd it works ok in my scripts. make sure your \n 's are inside your " " and rehash your bot.
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
Try changing puthelp to putserv. The script looks fine and I cant see why its not working. Any other guys spot something I have missed?
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
bind pub -|- !blonde pub_disc
proc pub_disc {nick mask hand channel args} {
global disc
set strBuffer ""
set strJoke "[lindex $disc [rand [llength $disc]]]"
append strBuffer "$strJoke\n"
puthelp "PRIVMSG $channel :$strBuffer"
}
set disc {
"blaaaa blaaaaaaaaaa blaaaaaaa"
"abbsabsabsa ds dgdgdgdgd d ssddddddddgggg"
"saggggggggggsgasggsa sag gsa gdd gd dh hd"
}
Try this (Not tested).
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