PtokaX forum

Archive => Grimoire => AllInOne Scripts => Archived 5.0 boards => Grimoire - Requests => Topic started by: Syphrone-NL on 11 May, 2006, 19:27:21

Title: Some requests and an other thing
Post by: Syphrone-NL on 11 May, 2006, 19:27:21
Hello again lol

I saw in the help file of octavo 1.0.1 (+octavo)? +hubconfig
Tryed this command but doesnt do anything so maybe you can delete this in the help file??

A request about the ascii files
Can it be send to main and that all the users it can see.
Now it is send to main but only the one who typed the command can see it
but only the ascii files not the index the index needs to be send only to the user itself

A request about Trivia
maybe a other setup
Now you see:
Quote
Question 1 of .....: <Question>
But i wanted it to be:
Quote
-----------------------------------------------------------
-- <Category> <Points For Good Answer>
-- <Question>
-- <Answer>: ? ? ? ? ? ? ?
-----------------------------------------------------------
Because i like that its better to see i think a nicer
If this possible

Thats All? ;D :P

Greetzz
Syphrone-NL
Title: Re: Some requests and an other thing
Post by: Rincewind on 12 May, 2006, 16:58:48
hubconfig is not a part of the Octavo and will be removed.

The ascii can be optioned so you can choose to send it to everyone.

Not too sure about the trivia questions. Maybe when I make Gv3 (and DCv1 and Ov1) multilanguage I can do something then to allow for different question formats.
Title: Re: Some requests and an other thing
Post by: Syphrone-NL on 12 May, 2006, 20:05:21
Don't see any option in Octavo for sending ascii to all users only the option In main but then its only send to the user who selected the ascii
Title: Re: Some requests and an other thing
Post by: Rincewind on 12 May, 2006, 23:06:49
Sorry by "can be optioned" I meant that I will make a change to the next version to allow this.
Title: Re: Some requests and an other thing
Post by: Syphrone-NL on 13 May, 2006, 09:51:59
a thank you

but can i do something with it now
want to try this
in the funcion.lua --> -- show ascii or rotating message file

this line:
Quote
               sUser:SendPM(tBots.tAsciiArt.Name,"\r\n"..tmp)
            end

Changing to
Quote
               sUser:SendToAll(tBots.tAsciiArt.Name,"\r\n"..tmp)
            end

and then deselect --> in main

Will it work????
Title: Re: Some requests and an other thing
Post by: Madman on 13 May, 2006, 12:23:02
Quote
               SendToAll(tBots.tAsciiArt.Name,"\r\n"..tmp)
            end

That will send to all in main..
Title: Re: Some requests and an other thing
Post by: Syphrone-NL on 13 May, 2006, 15:58:51
Thx madman

Damn so close was I
I begin to learn it :D
Title: Re: Some requests and an other thing
Post by: Syphrone-NL on 13 May, 2006, 16:02:47
Quote from: Madman on 13 May, 2006, 12:23:02
Quote
               SendToAll(tBots.tAsciiArt.Name,"\r\n"..tmp)
            end

That will send to all in main..

So if i change
Quote
SendToAll(tBots.tAsciiArt.Name,"\r\n"..tmp)

to
Quote
SendToAll(<%[mynick]>,"\r\n"..tmp)

It will be send by the user it self and not from the bot???
Title: Re: Some requests and an other thing
Post by: 6Marilyn6Manson6 on 13 May, 2006, 21:30:24
Quote from: Syphrone-NL on 13 May, 2006, 16:02:47
Quote from: Madman on 13 May, 2006, 12:23:02
Quote
               SendToAll(tBots.tAsciiArt.Name,"\r\n"..tmp)
            end

That will send to all in main..

So if i change
Quote
SendToAll(tBots.tAsciiArt.Name,"\r\n"..tmp)

to
Quote
SendToAll(<%[mynick]>,"\r\n"..tmp)

It will be send by the user it self and not from the bot???

Variable %[mynick] not exist in Lua
Title: Re: Some requests and an other thing
Post by: Rincewind on 13 May, 2006, 21:59:52
If you did
SendToAll(sUser.sName,"\r\n"..tmp)
it should send to all using the users name (I haven't been able to look at the code to verify this as I am not at home but based on your previous post this should work).

p.s. How sad am I; on holiday and still reading the lua forums?  ???
Title: Re: Some requests and an other thing
Post by: Syphrone-NL on 14 May, 2006, 10:03:15
It works :D

Thx rincewind
Title: Re: Some requests and an other thing
Post by: Rincewind on 14 May, 2006, 18:00:52
Not a problem; I'll get this done properly in the next version so it is optioned in the GUI
Title: Re: Some requests and an other thing
Post by: Syphrone-NL on 15 May, 2006, 15:30:26
thats nice thx :D