Script
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Script

Started by Intel, 22 January, 2004, 16:20:00

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Intel

Hello guys,
I need a script which can clear the main chat for all, is that possible in anyways ?
Punnakku

[T-G-T]M@sto

QuoteOriginally posted by Intel
Hello guys,
I need a script which can clear the main chat for all, is that possible in anyways ?
I just made a trigger called Clear and added 60 empty lines. When i need to clear mainchat i just type !clear
The Ghost Riders - tgr.dyndns.org - The Best Danish Hub

pHaTTy

QuoteOriginally posted by [T-G-T]M@sto
QuoteOriginally posted by Intel
Hello guys,
I need a script which can clear the main chat for all, is that possible in anyways ?
I just made a trigger called Clear and added 60 empty lines. When i need to clear mainchat i just type !clear

60!!! LOL :)))
Resistance is futile!

[T-G-T]M@sto

just to make sure the screen is clear LOL
Who want to scroll 60 lines back - Not me
The Ghost Riders - tgr.dyndns.org - The Best Danish Hub

Intel

nice cant u post the script here ?
Punnakku

Intel

how can i do so that !modt then it will show the modt and in that way the screen gets clear too, cause people will think they have got reconnected to the hub :P
phatty help me buddy
Punnakku

plop

i'll try 2 be phatty in this post. lol
Bot = "I'm_phatty"

function DataArrival(user, data)
   data=strsub(data,1,strlen(data)-1) 
   if( strsub(data, 1, 1) == "<" ) then
      s,e,cmd = strfind(data,"%b<>%s+(%S+)") 
      if cmd=="!motd" then
         showtext(user)
         return 1
      end
   end
end

function showtext(user)
	local handle = openfile("../motd.txt", "r")
	local contents = gsub(read(handle, "*a"),strchar(10), "\r\n")
	closefile (handle)
	user:SendData(Bot, "\r\n"..contents.."\r\n|")
end
plop  eeeehm phatty (damn nearly made a mistake @ the end)
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

pHaTTy

LOL hahahahaha :p

no you dont pass, ur tabbing is differ to mine :P
Resistance is futile!

pHaTTy

my tabbing

Bot = "I'm_Plop"

function showtext(user)
	local handle = openfile("../motd.txt", "r")
	local contents = gsub(read(handle, "*a"),strchar(10), "\r\n")
	closefile (handle)
	user:SendData(Bot, "\r\n"..contents.."\r\n|")
end

function DataArrival(user, data)
	data=strsub(data,1,strlen(data)-1) 
	if( strsub(data, 1, 1) == "<" ) then
		local s,e,cmd = strfind(data,"%b<>%s+(%S+)") 

		if cmd == "!motd" then
			showtext(user)
		return 1
		end
	end
end

:P
Resistance is futile!

plop

QuoteOriginally posted by (uk-kingdom)pH?tt?
LOL hahahahaha :p

no you dont pass, ur tabbing is differ to mine :P
damn. lol
your using something else then titmouse then.
that tabs with 3 spaces.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

pHaTTy

QuoteOriginally posted by plop
QuoteOriginally posted by (uk-kingdom)pH?tt?
LOL hahahahaha :p

no you dont pass, ur tabbing is differ to mine :P
damn. lol
your using something else then titmouse then.
that tabs with 3 spaces.

plop

i always use the ptokax script box ;)
Resistance is futile!

SMF spam blocked by CleanTalk