WorldDMT commented on a Page, Moviequiz  -  May 11, 2009

hi

sorry i don't speak english verry well :p

on :TEXT::#: {
if ($1 = !moviequiz) {

must be

on :TEXT::#: {
if ($strip($1) == !moviequiz) {

cz user can use a color style or bold, underline ..

also for

!setmovie

u must add conditions for $2 & $3- like this

on *:TEXT:*:?: {
  if ($strip($1) == !setmovie) {
    if (%pick) {
      if ($nick = %picker) {
        if ($2) && ($3-) {
          set %movieurl $2
          set %correct $3-
          set %moviequiz 1
          notice $nick Thanks!
        }
        else msg $nick setmovie syntax: !setmovie <Link for the quiz> <Answer for the quiz>
      }
      else msg $nick You are NOT allowed to set the new movie!
    }
  }
}

for .ini file beter use hash table cz i see writeini movie.ini $chan $nick

mabe the nick can be [blabla] in the ini file he will be registred ~blabla~ so
while the $readini comand u will not have a good result

i mean $readini(movie.ini,$chan,$nick) here $nick == [blabla] & they no nick like this into movie.ini cz wen u write it he been ~blabla~

sorry about my language :p

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.