PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: IsoD on 05 June, 2004, 20:11:29

Title: Basic script for making my own commands
Post by: IsoD on 05 June, 2004, 20:11:29
I think this could be easily done, but I myself don't know anything about scripting so I ask for your help  :D

So I'm using Ptokax because I need scripting but I miss those easy "+commads" from yhub. If I make a text file named "links" in Yhub's folder a command +links then displays the context of that text file. This is what I would like to do with my Ptokax.

So the script should basicly just send the context of a text file to main chat or to PM of the user who used the command.

If you cuold do this for me I would be extremely thankful  8)
Title:
Post by: Herodes on 05 June, 2004, 21:15:31
Hi ,... It not a lot of effort to use the search ...
I'd recommend that next time ...
You can try out as many scripts as u want ....
try looking at this plop's texter (http://www.plop.nl/ptokaxbots/Plop/texter.lua)
Plop's Site is here (http://www.plop.nl)
Title:
Post by: IsoD on 06 June, 2004, 09:53:25
I'm sorry for not using the search but I really didn't know what to search  :P

But that was just what I was looking for so thanks Herodes !